ntoskrnl/tests: Fix error check that fails on Windows.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-09-19 19:21:17 +02:00
parent 6435f844dd
commit 4100bac563
1 changed files with 3 additions and 2 deletions

View File

@ -230,8 +230,9 @@ static void test_driver3(void)
ret = StartServiceA(service, 0, NULL);
ok(!ret, "driver3 should fail to start\n");
todo_wine
ok(GetLastError() == ERROR_CALL_NOT_IMPLEMENTED || GetLastError() == ERROR_PROC_NOT_FOUND /* XP */ ||
ok(GetLastError() == ERROR_CALL_NOT_IMPLEMENTED ||
GetLastError() == ERROR_INVALID_FUNCTION ||
GetLastError() == ERROR_PROC_NOT_FOUND /* XP */ ||
GetLastError() == ERROR_FILE_NOT_FOUND /* Win7 */, "got %u\n", GetLastError());
DeleteService(service);