Commit 4100bac5 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 6435f844
...@@ -230,8 +230,9 @@ static void test_driver3(void) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment