[pkg-wine-party] [wine] 04/213: winhttp: Skip tests on broken ISPs.
Michael Gilbert
mgilbert at moszumanska.debian.org
Sun Apr 6 03:43:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
mgilbert pushed a commit to branch master
in repository wine.
commit 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());
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git
More information about the pkg-wine-party
mailing list