shell32/tests: Fix failing test on Win 2k.

Huw Davies huw at codeweavers.com
Thu Jun 11 05:18:55 CDT 2015


---
 dlls/shell32/tests/shlview.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/shell32/tests/shlview.c b/dlls/shell32/tests/shlview.c
index cab0630..6525dd2 100644
--- a/dlls/shell32/tests/shlview.c
+++ b/dlls/shell32/tests/shlview.c
@@ -661,7 +661,7 @@ if (0)
 
     hwnd_view = NULL;
     hr = IShellView_CreateViewWindow(view, NULL, &settings, &test_shellbrowser, &r, &hwnd_view);
-    ok(hr == S_OK, "got (0x%08x)\n", hr);
+    ok(hr == S_OK || broken(hr == S_FALSE), "got (0x%08x)\n", hr);
     ok(hwnd_view != 0, "got %p\n", hwnd_view);
 
     hwnd2 = (HWND)0xdeadbeef;
-- 
1.8.0




More information about the wine-patches mailing list