fusion/tests: Mark test as skipped when we don't have enough rights.

This commit is contained in:
Paul Vriens 2009-02-11 10:59:00 +01:00 committed by Alexandre Julliard
parent 0449701c31
commit 39e3bb8dbc
1 changed files with 2 additions and 0 deletions

View File

@ -853,6 +853,8 @@ static BOOL check_dotnet20(void)
ret = TRUE;
else if (hr == CLDB_E_FILE_OLDVER)
win_skip("Tests can't be run on older .NET version (.NET 1.1)\n");
else if (hr == E_ACCESSDENIED)
skip("Not enough rights to install an assembly\n");
else
ok(0, "Expected S_OK, got %08x\n", hr);