Fixed tests of GetAcceptLanguagesA for win2k and win XP.
This commit is contained in:
parent
553dc348b0
commit
fcf16e3715
|
@ -53,7 +53,9 @@ static void test_GetAcceptLanguagesA(void)
|
|||
trace("GetAcceptLanguagesA: skipping tests\n");
|
||||
return;
|
||||
}
|
||||
ok(ERROR_SUCCESS == GetLastError(), "last error set to %ld\n", GetLastError());
|
||||
ok( (ERROR_NO_IMPERSONATION_TOKEN == GetLastError()) ||
|
||||
(ERROR_CLASS_DOES_NOT_EXIST == GetLastError()) ||
|
||||
(ERROR_SUCCESS == GetLastError()), "last error set to %ld\n", GetLastError());
|
||||
exactsize = strlen(buffer);
|
||||
|
||||
SetLastError(ERROR_SUCCESS);
|
||||
|
|
Loading…
Reference in New Issue