Commit d6bb1d9a authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

kernel32: Fix a failing test in win95.

parent 53f4e434
......@@ -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());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment