kernel32: Fix a test that fails on win9x.

This commit is contained in:
James Hawkins 2008-04-21 23:42:19 -05:00 committed by Alexandre Julliard
parent 3550d3bfbc
commit 4d07047d4e
1 changed files with 4 additions and 1 deletions

View File

@ -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");