From d9d8e6f0312f6d6f4d79ef2486091cfa1c52b566 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 17 Jun 2015 15:11:22 +0200 Subject: [PATCH] winhttp/tests: Fix a test failure on win2k. --- dlls/winhttp/tests/winhttp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c index 10a3f06c518..8b72d087708 100644 --- a/dlls/winhttp/tests/winhttp.c +++ b/dlls/winhttp/tests/winhttp.c @@ -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;