winhttp/tests: Accept another error from WinHttpGetProxyForUrl.
Hans Leidekker
hans at codeweavers.com
Wed Jan 2 06:05:57 CST 2013
---
dlls/winhttp/tests/winhttp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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);
--
1.7.10.4
More information about the wine-patches
mailing list