Module: wine Branch: master Commit: 697cbc3605f0ea4b9ab1787e26663341ee6cf6dc URL: http://source.winehq.org/git/wine.git/?a=commit;h=697cbc3605f0ea4b9ab1787e26...
Author: Hans Leidekker hans@codeweavers.com Date: Wed Jun 12 11:08:42 2013 +0200
wininet/tests: Avoid proxy test failures on old wininet.
---
dlls/wininet/tests/http.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c index 1682b05..5d4c28a 100644 --- a/dlls/wininet/tests/http.c +++ b/dlls/wininet/tests/http.c @@ -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);