Paul Vriens : shlwapi/tests: Fix a failure on Win9x and NT4.

Alexandre Julliard julliard at winehq.org
Wed Nov 5 09:37:49 CST 2008


Module: wine
Branch: master
Commit: d64f8a887fc90874476d76b61f06a694f441a49f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d64f8a887fc90874476d76b61f06a694f441a49f

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Tue Nov  4 19:21:50 2008 +0100

shlwapi/tests: Fix a failure on Win9x and NT4.

---

 dlls/shlwapi/tests/assoc.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/shlwapi/tests/assoc.c b/dlls/shlwapi/tests/assoc.c
index 3e4d8d4..3799ecc 100644
--- a/dlls/shlwapi/tests/assoc.c
+++ b/dlls/shlwapi/tests/assoc.c
@@ -130,7 +130,9 @@ static void test_getstring_basic(void)
 
     hr = pAssocQueryStringW(0, ASSOCSTR_FRIENDLYAPPNAME, dotHtml, open, NULL,
                            &len);
-    expect_hr(S_FALSE, hr);
+    ok(hr == S_FALSE ||
+       hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), /* Win9x/NT4 */
+       "Unexpected result : %08x\n", hr);
     if (hr != S_FALSE)
     {
         HeapFree(GetProcessHeap(), 0, executableName);




More information about the wine-cvs mailing list