[PATCH] Fix some failures on XP and W2K3
Paul Vriens
Paul.Vriens.Wine at gmail.com
Tue Nov 4 06:49:02 CST 2008
---
dlls/shlwapi/tests/assoc.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/shlwapi/tests/assoc.c b/dlls/shlwapi/tests/assoc.c
index d1c15aa..3e4d8d4 100644
--- a/dlls/shlwapi/tests/assoc.c
+++ b/dlls/shlwapi/tests/assoc.c
@@ -219,6 +219,10 @@ static void test_getstring_no_extra(void)
}
hr = pAssocQueryStringA(0, ASSOCSTR_EXECUTABLE, dotWinetest, NULL, buf, &len);
+ ok(hr == S_OK ||
+ hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), /* XP and W2K3 */
+ "Unexpected result : %08x\n", hr);
+ hr = pAssocQueryStringA(0, ASSOCSTR_EXECUTABLE, dotWinetest, "foo", buf, &len);
expect_hr(S_OK, hr);
ok(strstr(buf, action) != NULL,
"got '%s' (Expected result to include 'notepad.exe')\n", buf);
--
1.5.4.3
--------------080802060901020701060602--
More information about the wine-patches
mailing list