ntoskrnl/tests: Fix error check that fails on Windows.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6435f844dd
commit
4100bac563
|
@ -230,8 +230,9 @@ static void test_driver3(void)
|
||||||
|
|
||||||
ret = StartServiceA(service, 0, NULL);
|
ret = StartServiceA(service, 0, NULL);
|
||||||
ok(!ret, "driver3 should fail to start\n");
|
ok(!ret, "driver3 should fail to start\n");
|
||||||
todo_wine
|
ok(GetLastError() == ERROR_CALL_NOT_IMPLEMENTED ||
|
||||||
ok(GetLastError() == ERROR_CALL_NOT_IMPLEMENTED || GetLastError() == ERROR_PROC_NOT_FOUND /* XP */ ||
|
GetLastError() == ERROR_INVALID_FUNCTION ||
|
||||||
|
GetLastError() == ERROR_PROC_NOT_FOUND /* XP */ ||
|
||||||
GetLastError() == ERROR_FILE_NOT_FOUND /* Win7 */, "got %u\n", GetLastError());
|
GetLastError() == ERROR_FILE_NOT_FOUND /* Win7 */, "got %u\n", GetLastError());
|
||||||
|
|
||||||
DeleteService(service);
|
DeleteService(service);
|
||||||
|
|
Loading…
Reference in New Issue