setupapi/tests: Fix some failures on Win9x and WinMe.
This commit is contained in:
parent
05c40e08a6
commit
a76d83687a
|
@ -416,12 +416,15 @@ static void test_close_inf_file(void)
|
|||
{
|
||||
SetLastError(0xdeadbeef);
|
||||
SetupCloseInfFile(NULL);
|
||||
ok(GetLastError() == 0xdeadbeef, "Expected 0xdeadbeef, got %u\n", GetLastError());
|
||||
ok(GetLastError() == 0xdeadbeef ||
|
||||
GetLastError() == ERROR_INVALID_PARAMETER, /* Win9x, WinMe */
|
||||
"Expected 0xdeadbeef, got %u\n", GetLastError());
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
SetupCloseInfFile(INVALID_HANDLE_VALUE);
|
||||
ok(GetLastError() == 0xdeadbeef, "Expected 0xdeadbeef, got %u\n", GetLastError());
|
||||
|
||||
ok(GetLastError() == 0xdeadbeef ||
|
||||
GetLastError() == ERROR_INVALID_PARAMETER, /* Win9x, WinMe */
|
||||
"Expected 0xdeadbeef, got %u\n", GetLastError());
|
||||
}
|
||||
|
||||
static const char *contents = "[Version]\n"
|
||||
|
|
Loading…
Reference in New Issue