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

Alexandre Julliard julliard at winehq.org
Wed Jun 12 15:37:24 CDT 2013


Module: wine
Branch: master
Commit: 697cbc3605f0ea4b9ab1787e26663341ee6cf6dc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=697cbc3605f0ea4b9ab1787e26663341ee6cf6dc

Author: Hans Leidekker <hans at 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);




More information about the wine-cvs mailing list