winhttp/tests: Fix a test failure on win2k.

This commit is contained in:
Hans Leidekker 2015-06-17 15:11:22 +02:00 committed by Alexandre Julliard
parent 1fb3f9cb15
commit d9d8e6f031
1 changed files with 5 additions and 0 deletions

View File

@ -942,6 +942,11 @@ static void test_request_parameter_defaults(void)
ok(ret, "failed to send request %u\n", GetLastError());
ret = WinHttpReceiveResponse(req, NULL);
if (!ret && GetLastError() == ERROR_WINHTTP_INVALID_SERVER_RESPONSE) /* win2k */
{
win_skip("invalid response\n");
goto done;
}
ok(ret, "failed to receive response %u\n", GetLastError());
status = 0xdeadbeef;