Hans Leidekker : winhttp/tests: Accept another error from WinHttpGetProxyForUrl.
Alexandre Julliard
julliard at winehq.org
Wed Jan 2 14:18:38 CST 2013
Module: wine
Branch: master
Commit: 8d0551b98d8161b0664eeb78fae2cfcf50f3ccb8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8d0551b98d8161b0664eeb78fae2cfcf50f3ccb8
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Jan 2 13:05:57 2013 +0100
winhttp/tests: Accept another error from WinHttpGetProxyForUrl.
---
dlls/winhttp/tests/winhttp.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c
index 05e7804..132551c 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -2697,7 +2697,8 @@ static void test_WinHttpGetProxyForUrl(void)
SetLastError(0xdeadbeef);
ret = WinHttpGetProxyForUrl( session, urlW, &options, &info );
error = GetLastError();
- if (!ret) ok( error == ERROR_WINHTTP_AUTODETECTION_FAILED, "got %u\n", error );
+ if (!ret) ok( error == ERROR_WINHTTP_AUTODETECTION_FAILED ||
+ error == ERROR_WINHTTP_UNABLE_TO_DOWNLOAD_SCRIPT, "got %u\n", error );
else
{
trace("Proxy.AccessType=%u\n", info.dwAccessType);
More information about the wine-cvs
mailing list