winhttp: Skip tests on broken ISPs.
This commit is contained in:
parent
171748da4d
commit
9665d5a409
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue