Commit 054c916c authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

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: 's avatarDetlef Riekenberg <wine.dev@web.de> Signed-off-by: 's avatarHans Leidekker <hans@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 75464b13
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment