From d64f8a887fc90874476d76b61f06a694f441a49f Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Tue, 4 Nov 2008 19:21:50 +0100 Subject: [PATCH] shlwapi/tests: Fix a failure on Win9x and NT4. --- dlls/shlwapi/tests/assoc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/shlwapi/tests/assoc.c b/dlls/shlwapi/tests/assoc.c index 3e4d8d4f40f..3799ecc957a 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); -- 2.11.4.GIT