From 8d0551b98d8161b0664eeb78fae2cfcf50f3ccb8 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 2 Jan 2013 13:05:57 +0100 Subject: [PATCH] winhttp/tests: Accept another error from WinHttpGetProxyForUrl. --- 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 05e78049ff..132551c52c 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);