Commit dd84b0a7 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

ntoskrnl.exe/tests: Don't test functions directly when reporting GetLastError().

parent 8ad4cce0
......@@ -377,8 +377,10 @@ START_TEST(ntoskrnl)
unload_driver(service2);
unload_driver(service);
ok(DeleteFileA(filename), "DeleteFile failed: %u\n", GetLastError());
ok(DeleteFileA(filename2), "DeleteFile failed: %u\n", GetLastError());
ret = DeleteFileA(filename);
ok(ret, "DeleteFile failed: %u\n", GetLastError());
ret = DeleteFileA(filename2);
ok(ret, "DeleteFile failed: %u\n", GetLastError());
test_driver3();
}
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