Module: wine Branch: master Commit: 6ba4b314f36705d6ea73f59ff4d80ad254be53ca URL: http://source.winehq.org/git/wine.git/?a=commit;h=6ba4b314f36705d6ea73f59ff4...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Mon Apr 27 20:33:12 2009 +0200
urlmon/tests: Fix a test failure on Win9x, WinME and NT4.
---
dlls/urlmon/tests/protocol.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c index ea19c77..e136d4b 100644 --- a/dlls/urlmon/tests/protocol.c +++ b/dlls/urlmon/tests/protocol.c @@ -671,7 +671,9 @@ static HRESULT WINAPI ProtocolSink_ReportResult(IInternetProtocolSink *iface, HR if(SUCCEEDED(hrResult) || tested_protocol == FTP_TEST) ok(dwError == ERROR_SUCCESS, "dwError = %d, expected ERROR_SUCCESS\n", dwError); else - ok(dwError != ERROR_SUCCESS, "dwError == ERROR_SUCCESS\n"); + ok(dwError != ERROR_SUCCESS || + broken(tested_protocol == MK_TEST), /* Win9x, WinME and NT4 */ + "dwError == ERROR_SUCCESS\n"); ok(!szResult, "szResult != NULL\n");
return S_OK;