winhttp/tests: Skip the tests when we encounter a failure.
This avoids entering the loop and flood the result file until we reach the 120s test timeout. Signed-off-by: Detlef Riekenberg <wine.dev@web.de> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
75464b13fd
commit
054c916c40
|
@ -4417,9 +4417,11 @@ static void test_chunked_read(void)
|
|||
goto done;
|
||||
}
|
||||
ok( ret, "WinHttpSendRequest failed with error %u\n", GetLastError() );
|
||||
if (!ret) goto done;
|
||||
|
||||
ret = WinHttpReceiveResponse( req, NULL );
|
||||
ok( ret, "WinHttpReceiveResponse failed with error %u\n", GetLastError() );
|
||||
if (!ret) goto done;
|
||||
|
||||
header[0] = 0;
|
||||
len = sizeof(header);
|
||||
|
|
Loading…
Reference in New Issue