kernel32/tests: Fix one more failing test on Win9x.
This commit is contained in:
parent
3f4333d70c
commit
a6ce819ca2
|
@ -720,7 +720,8 @@ static void test_CreateFileMapping(void)
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
handle2 = OpenFileMappingA( FILE_MAP_ALL_ACCESS, FALSE, "WINE TEST MAPPING");
|
handle2 = OpenFileMappingA( FILE_MAP_ALL_ACCESS, FALSE, "WINE TEST MAPPING");
|
||||||
ok( !handle2, "OpenFileMapping succeeded\n");
|
ok( !handle2, "OpenFileMapping succeeded\n");
|
||||||
ok( GetLastError() == ERROR_FILE_NOT_FOUND, "wrong error %u\n", GetLastError());
|
ok( GetLastError() == ERROR_FILE_NOT_FOUND || GetLastError() == ERROR_INVALID_NAME /* win9x */,
|
||||||
|
"wrong error %u\n", GetLastError());
|
||||||
|
|
||||||
CloseHandle( handle );
|
CloseHandle( handle );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue