wininet/tests: Avoid proxy test failures on old wininet.

This commit is contained in:
Hans Leidekker 2013-06-12 11:08:42 +02:00 committed by Alexandre Julliard
parent b4b2656bc8
commit 697cbc3605
1 changed files with 5 additions and 0 deletions

View File

@ -2465,6 +2465,11 @@ static void test_proxy_direct(int port)
ok(sz == lstrlenW(passwordW), "got %u\n", sz);
r = HttpSendRequest(hr, NULL, 0, NULL, 0);
if (!r)
{
win_skip("skipping proxy tests on broken wininet\n");
goto done;
}
ok(r, "HttpSendRequest failed %u\n", GetLastError());
sz = sizeof buffer;
r = HttpQueryInfo(hr, HTTP_QUERY_STATUS_CODE, buffer, &sz, NULL);