kernel32/tests: Fix one more failing test on Win9x.

This commit is contained in:
Alexandre Julliard 2008-11-07 10:50:57 +01:00
parent 3f4333d70c
commit a6ce819ca2
1 changed files with 2 additions and 1 deletions

View File

@ -720,7 +720,8 @@ static void test_CreateFileMapping(void)
SetLastError(0xdeadbeef);
handle2 = OpenFileMappingA( FILE_MAP_ALL_ACCESS, FALSE, "WINE TEST MAPPING");
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 );
}