mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00:00
[WINESYNC] setupapi/tests: Don't test function directly when reporting GetLastError().
wine commit id 4b09ed1486b4c880c7ed1cbbfd3d9b1335f4d4ab by André Zwing <nerv@dawncrow.de>
This commit is contained in:
parent
3edf03cbf2
commit
d89cb3dc29
2 changed files with 5 additions and 3 deletions
|
@ -2291,8 +2291,10 @@ static void test_rename(void)
|
|||
ok(delete_file("a/six.txt"), "File should exist.\n");
|
||||
SetupCloseFileQueue(queue);
|
||||
|
||||
ok(delete_file("a/"), "Failed to delete directory, error %lu.\n", GetLastError());
|
||||
ok(delete_file("b/"), "Failed to delete directory, error %lu.\n", GetLastError());
|
||||
ret = delete_file("a/");
|
||||
ok(ret, "Failed to delete directory, error %lu.\n", GetLastError());
|
||||
ret = delete_file("b/");
|
||||
ok(ret, "Failed to delete directory, error %lu.\n", GetLastError());
|
||||
}
|
||||
|
||||
static WCHAR service_name[] = L"Wine Test Service";
|
||||
|
|
|
@ -10,4 +10,4 @@ files:
|
|||
dlls/setupapi/setupcab.c: dll/win32/setupapi/setupcab.c
|
||||
dlls/setupapi/stringtable.c: dll/win32/setupapi/stringtable_wine.c
|
||||
tags:
|
||||
wine: 1172e66e5b7fa96decf89f8866e71b77e5773ec7
|
||||
wine: 4b09ed1486b4c880c7ed1cbbfd3d9b1335f4d4ab
|
||||
|
|
Loading…
Reference in a new issue