urlmon/tests: Fix a test failure on Win9x, WinME and NT4.

This commit is contained in:
Paul Vriens 2009-04-27 20:33:12 +02:00 committed by Alexandre Julliard
parent f043f3db27
commit 6ba4b314f3
1 changed files with 3 additions and 1 deletions

View File

@ -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;