advapi32/tests: remove Win9x hacks

Austin English austinenglish at gmail.com
Fri Feb 25 16:27:58 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/advapi32/tests/security.c b/dlls/advapi32/tests/security.c
index bfe9783..4ba244f 100644
--- a/dlls/advapi32/tests/security.c
+++ b/dlls/advapi32/tests/security.c
@@ -1881,12 +1881,6 @@ static void test_LookupAccountName(void)
     user_size = UNLEN + 1;
     SetLastError(0xdeadbeef);
     ret = GetUserNameA(user_name, &user_size);
-    if (!ret && (GetLastError() == ERROR_NOT_LOGGED_ON))
-    {
-        /* Probably on win9x where the user used 'Cancel' instead of properly logging in */
-        skip("Cannot get the user name (win9x and not logged in properly)\n");
-        return;
-    }
     ok(ret, "Failed to get user name : %d\n", GetLastError());
 
     /* get sizes */


More information about the wine-patches mailing list