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

Alexandre Julliard julliard at winehq.org
Wed Feb 11 09:24:57 CST 2009


Module: wine
Branch: master
Commit: 39e3bb8dbcefb6dd77a8912baf16208821f1d187
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=39e3bb8dbcefb6dd77a8912baf16208821f1d187

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Wed Feb 11 10:59:00 2009 +0100

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

---

 dlls/fusion/tests/asmcache.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/fusion/tests/asmcache.c b/dlls/fusion/tests/asmcache.c
index 58aadf4..fe2b466 100644
--- a/dlls/fusion/tests/asmcache.c
+++ b/dlls/fusion/tests/asmcache.c
@@ -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);
 




More information about the wine-cvs mailing list