[PATCH] shell32/tests: Ignore the case, when comparing filenames
Detlef Riekenberg
wine.dev at web.de
Thu Jun 21 22:07:32 CDT 2012
This fixes test failures on W2K and XP
http://test.winehq.org/data/8c83c66bcb165cb44ec1a80d2940a939413394da/xp_dr-xp-root-GF6150/shell32:shelldispatch.html
http://test.winehq.org/data/8c83c66bcb165cb44ec1a80d2940a939413394da/2000_dr-w2k-adm-GF6150/shell32:shelldispatch.html
--
By by ... Detlef
---
dlls/shell32/tests/shelldispatch.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/tests/shelldispatch.c b/dlls/shell32/tests/shelldispatch.c
index 307e0fc..9d8d70b 100644
--- a/dlls/shell32/tests/shelldispatch.c
+++ b/dlls/shell32/tests/shelldispatch.c
@@ -140,7 +140,7 @@ static void test_namespace(void)
p = path + lstrlenW(path);
while (path < p && *(p - 1) != '\\')
p--;
- ok(!lstrcmpW(title, p), "expected %s, got %s\n",
+ ok(!lstrcmpiW(title, p), "expected %s, got %s\n",
wine_dbgstr_w(p), wine_dbgstr_w(title));
}
else skip("skipping Folder::get_Title test\n");
@@ -157,7 +157,7 @@ static void test_namespace(void)
r = FolderItem_get_Path(item, &item_path);
ok(r == S_OK, "FolderItem::get_Path failed: %08x\n", r);
if (pSHGetFolderPathW)
- ok(!lstrcmpW(item_path, path), "expected %s, got %s\n",
+ ok(!lstrcmpiW(item_path, path), "expected %s, got %s\n",
wine_dbgstr_w(path), wine_dbgstr_w(item_path));
SysFreeString(item_path);
FolderItem_Release(item);
--
1.7.5.4
More information about the wine-patches
mailing list