Nikolay Sivov : msxml3/tests: Fix tests failures with unreachable network resources.
Module: wine Branch: master Commit: 44705156b588c679b2fc0a192ff1a07ef6084ef5 URL: https://source.winehq.org/git/wine.git/?a=commit;h=44705156b588c679b2fc0a192... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Mon Oct 5 14:55:01 2020 +0300 msxml3/tests: Fix tests failures with unreachable network resources. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/msxml3/tests/httpreq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/msxml3/tests/httpreq.c b/dlls/msxml3/tests/httpreq.c index 5f5137dd16..4a23f1d82a 100644 --- a/dlls/msxml3/tests/httpreq.c +++ b/dlls/msxml3/tests/httpreq.c @@ -1295,7 +1295,6 @@ static HRESULT WINAPI dispevent_Invoke(IDispatch *iface, DISPID member, REFIID r hr = IXMLHttpRequest_get_responseText(httpreq, &text); ok(hr == S_OK, "got 0x%08x\n", hr); - ok(*text != 0, "got %s\n", wine_dbgstr_w(text)); SysFreeString(text); } @@ -1798,7 +1797,7 @@ static void test_server_xhr(void) V_VT(&body) = VT_EMPTY; hr = IServerXMLHTTPRequest_send(xhr, body); - if (hr == INET_E_RESOURCE_NOT_FOUND) + if (hr == INET_E_RESOURCE_NOT_FOUND || hr == WININET_E_NAME_NOT_RESOLVED) { skip("No connection could be made with test.winehq.org\n"); IServerXMLHTTPRequest_Release(xhr);
participants (1)
-
Alexandre Julliard