[PATCH 2/2] Fix a test failure on Windows 2000
Paul Vriens
Paul.Vriens.Wine at gmail.com
Mon Apr 19 13:19:19 CDT 2010
---
dlls/shell32/tests/shfldr_special.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/tests/shfldr_special.c b/dlls/shell32/tests/shfldr_special.c
index 7be2bdf..bc791ef 100644
--- a/dlls/shell32/tests/shfldr_special.c
+++ b/dlls/shell32/tests/shfldr_special.c
@@ -185,8 +185,11 @@ if (0)
}
hr = IShellFolder2_GetDetailsOf(folder, NULL, 0, &details);
- ok(hr == S_OK, "got 0x%08x\n", hr);
- ok(details.str.uType == STRRET_WSTR, "got %d\n", details.str.uType);
+ ok(hr == S_OK ||
+ broken(hr == E_NOTIMPL), /* Windows 2000 */
+ "got 0x%08x\n", hr);
+ if (hr == S_OK)
+ ok(details.str.uType == STRRET_WSTR, "got %d\n", details.str.uType);
/* default pidl */
hr = IShellFolder2_QueryInterface(folder, &IID_IPersistFolder2, (void**)&pf);
--
1.6.2.5
--------------050900070902020209020402--
More information about the wine-patches
mailing list