From 9665d5a409d96cfc5d893ad990a86bf9c6b8b67d Mon Sep 17 00:00:00 2001 From: Austin English Date: Sat, 22 Mar 2014 14:34:26 -0700 Subject: [PATCH] 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 e14f366b2c4..354f46f2f06 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()); -- 2.11.4.GIT