From e533893da8d2c758d2ee5389d399c5e85301139b Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Thu, 25 Oct 2007 15:19:17 -0500 Subject: [PATCH] cabinet: Fix two tests that return E_FAIL on win98. --- dlls/cabinet/tests/extract.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/cabinet/tests/extract.c b/dlls/cabinet/tests/extract.c index 5ce5ba8608e..2cf5154b7af 100644 --- a/dlls/cabinet/tests/extract.c +++ b/dlls/cabinet/tests/extract.c @@ -604,8 +604,8 @@ static void test_Extract(void) node = session.FileList; todo_wine { - ok(res == HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED), - "Expected HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED), got %08x\n", res); + ok(res == HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED) || res == E_FAIL, + "Expected HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED) or E_FAIL, got %08x\n", res); ok(session.FileSize == 6, "Expected 6, got %d\n", session.FileSize); ok(session.Error.erfOper == FDIERROR_USER_ABORT, "Expected FDIERROR_USER_ABORT, got %d\n", session.Error.erfOper); @@ -644,8 +644,8 @@ static void test_Extract(void) res = pExtract(&session, "extract.cab"); todo_wine { - ok(res == HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED), - "Expected HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED), got %08x\n", res); + ok(res == HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED) || res == E_FAIL, + "Expected HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED) or E_FAIL, got %08x\n", res); ok(session.FileSize == 26, "Expected 26, got %d\n", session.FileSize); ok(session.Error.erfOper == FDIERROR_USER_ABORT, "Expected FDIERROR_USER_ABORT, got %d\n", session.Error.erfOper); -- 2.11.4.GIT