Austin English : winhttp: Skip tests on broken ISPs.

Alexandre Julliard julliard at winehq.org
Mon Mar 24 15:59:45 CDT 2014


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

Author: Austin English <austinenglish at gmail.com>
Date:   Sat Mar 22 14:34:26 2014 -0700

winhttp: Skip tests on broken ISPs.

---

 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 e14f366..354f46f 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -1721,6 +1721,11 @@ static void test_resolve_timeout(void)
 
         SetLastError(0xdeadbeef);
         ret = WinHttpSendRequest(req, NULL, 0, NULL, 0, 0, 0);
+        if(ret == 1)
+        {
+            skip("nxdomain returned success. Broken ISP redirects?\n");
+            return;
+        }
         ok(!ret, "sent request\n");
         ok(GetLastError() == ERROR_WINHTTP_NAME_NOT_RESOLVED,
            "expected ERROR_WINHTTP_NAME_NOT_RESOLVED got %u\n", GetLastError());




More information about the wine-cvs mailing list