advapi32/tests: Remove Win9x hacks.

This commit is contained in:
Austin English 2011-02-25 14:27:58 -08:00 committed by Alexandre Julliard
parent f9d4a45fbb
commit 4bf211714e
1 changed files with 0 additions and 6 deletions

View File

@ -1881,12 +1881,6 @@ static void test_LookupAccountName(void)
user_size = UNLEN + 1; user_size = UNLEN + 1;
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
ret = GetUserNameA(user_name, &user_size); 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()); ok(ret, "Failed to get user name : %d\n", GetLastError());
/* get sizes */ /* get sizes */