Commit 4d07047d authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

kernel32: Fix a test that fails on win9x.

parent 3550d3bf
......@@ -104,9 +104,12 @@ static void test_conversions(void)
memset(&ft,0,sizeof ft);
SetLastError(0xdeadbeef);
SETUP_EARLY(st)
ok (!SystemTimeToFileTime(&st, &ft), "Conversion succeeded EARLY\n");
ok (GetLastError() == ERROR_INVALID_PARAMETER, "EARLY should be INVALID\n");
ok (GetLastError() == ERROR_INVALID_PARAMETER ||
GetLastError() == 0xdeadbeef, /* win9x */
"EARLY should be INVALID\n");
SETUP_ZEROTIME(st)
ok (SystemTimeToFileTime(&st, &ft), "Conversion failed ZERO_TIME\n");
......
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