Francois Gouget : urlmon/tests: Trace why the test file creation failed.
Alexandre Julliard
julliard at winehq.org
Mon Jul 18 15:47:02 CDT 2022
Module: wine
Branch: master
Commit: 58b686090d38faaa5fa4cc9a464b1854d7a88aa6
URL: https://gitlab.winehq.org/wine/wine/-/commit/58b686090d38faaa5fa4cc9a464b1854d7a88aa6
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Sat Jul 9 16:05:51 2022 +0200
urlmon/tests: Trace why the test file creation failed.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
dlls/urlmon/tests/url.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c
index cfd29910f35..1521f8af99b 100644
--- a/dlls/urlmon/tests/url.c
+++ b/dlls/urlmon/tests/url.c
@@ -3771,7 +3771,7 @@ static void create_file(const char *file_name, const char *content)
file = CreateFileA(file_name, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, NULL);
- ok(file != INVALID_HANDLE_VALUE, "CreateFile failed\n");
+ ok(file != INVALID_HANDLE_VALUE, "CreateFile failed: %lu\n", GetLastError());
if(file == INVALID_HANDLE_VALUE)
return;
More information about the wine-cvs
mailing list