[PATCH] scrrun/tests: Use case insensitive compare for filenames

Detlef Riekenberg wine.dev at web.de
Thu Sep 29 16:56:56 CDT 2016


Fixes a test failure.

Signed-off-by: Detlef Riekenberg <wine.dev at web.de>

--
bye bye ... Detlef
---
 dlls/scrrun/tests/filesystem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/scrrun/tests/filesystem.c b/dlls/scrrun/tests/filesystem.c
index 8457714..cd0e6d6 100644
--- a/dlls/scrrun/tests/filesystem.c
+++ b/dlls/scrrun/tests/filesystem.c
@@ -621,7 +621,7 @@ static void test_GetFile(void)
 
     hr = IFile_get_Path(file, &str);
     ok(hr == S_OK, "got 0x%08x\n", hr);
-    ok(!lstrcmpW(str, pathW), "got %s\n", wine_dbgstr_w(str));
+    ok(!lstrcmpiW(str, pathW), "got %s\n", wine_dbgstr_w(str));
     SysFreeString(str);
 
 #define FILE_ATTR_MASK (FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN | \
-- 
2.7.4




More information about the wine-patches mailing list