ntoskrnl.exe/tests: Don't test functions directly when reporting GetLastError().
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8ad4cce047
commit
dd84b0a744
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue