Nikolay Sivov : shell32/tests: Fix error code on win2k.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 8 07:49:55 CDT 2015
Module: wine
Branch: master
Commit: 1de3aec336439a14d84350b5388a36b7990453a9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1de3aec336439a14d84350b5388a36b7990453a9
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sat Jun 6 13:12:12 2015 +0300
shell32/tests: Fix error code on win2k.
---
dlls/shell32/tests/shelldispatch.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/shell32/tests/shelldispatch.c b/dlls/shell32/tests/shelldispatch.c
index 1f27cfa..e4bda93 100644
--- a/dlls/shell32/tests/shelldispatch.c
+++ b/dlls/shell32/tests/shelldispatch.c
@@ -719,7 +719,8 @@ static void test_ParseName(void)
str = SysAllocString(cadabraW);
item = (void*)0xdeadbeef;
hr = Folder_ParseName(folder, str, &item);
- ok(hr == S_FALSE || broken(hr == E_INVALIDARG) /* win2k */, "got 0x%08x\n", hr);
+ ok(hr == S_FALSE || broken(hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)) /* win2k */,
+ "got 0x%08x\n", hr);
ok(item == NULL, "got %p\n", item);
SysFreeString(str);
More information about the wine-cvs
mailing list