wininet/tests: Avoid proxy test failures on old wininet.
Hans Leidekker
hans at codeweavers.com
Wed Jun 12 04:08:42 CDT 2013
---
dlls/wininet/tests/http.c | 5 +++++
1 file changed, 5 insertions(+)
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);
--
1.7.10.4
More information about the wine-patches
mailing list