1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

atl100/tests: Trace GetLastError() when DeleteFile() fails.

test_AtlAxCreateControl()'s DeleteFile() call fails from time to time.
This commit is contained in:
Francois Gouget 2023-01-14 00:20:04 +01:00 committed by Alexandre Julliard
parent e60e8af0a9
commit d384e858c1

View File

@ -786,7 +786,7 @@ static void test_ax_win(void)
/* test file:// scheme on non-existent file */
ret = DeleteFileW(pathW);
ok(ret, "DeleteFile failed!\n");
ok(ret, "DeleteFile failed (gle=%lu)\n", GetLastError());
hwnd = CreateWindowW(cls_names[i], file_uri1W, 0, 100, 100, 100, 100, NULL, NULL, NULL, NULL);
ok(hwnd != NULL, "CreateWindow failed!\n");
control = NULL;
@ -1048,7 +1048,7 @@ static void test_AtlAxCreateControl(void)
/* test file:// scheme on non-existent file. */
ret = DeleteFileW(pathW);
ok(ret, "DeleteFile failed!\n");
ok(ret, "DeleteFile failed (gle=%lu)\n", GetLastError());
container = NULL;
control = NULL;
hwnd = create_container_window();