kernel32: Fix a failing test in win95.

This commit is contained in:
James Hawkins 2008-09-02 22:53:53 -05:00 committed by Alexandre Julliard
parent 53f4e4345d
commit d6bb1d9a70
1 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,9 @@ static void test_GetVersionEx(void)
SetLastError(0xdeadbeef);
infoExA.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEXA);
ret = GetVersionExA((OSVERSIONINFOA *)&infoExA);
ok(ret, "Expected GetVersionExA to succeed\n");
ok(ret ||
broken(ret == 0), /* win95 */
"Expected GetVersionExA to succeed\n");
ok(GetLastError() == 0xdeadbeef,
"Expected 0xdeadbeef, got %d\n", GetLastError());
}