From 61cd0648f2f508c0bbe4d6c3bcef69da0f6e5e7b Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 8 Oct 2010 17:49:04 +0200 Subject: [PATCH] urlmon: Skip more tests on too old IEs. --- dlls/urlmon/tests/stream.c | 5 +++++ dlls/urlmon/tests/url.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dlls/urlmon/tests/stream.c b/dlls/urlmon/tests/stream.c index 329addb722f..fc3f6394cbb 100644 --- a/dlls/urlmon/tests/stream.c +++ b/dlls/urlmon/tests/stream.c @@ -370,6 +370,11 @@ static void test_URLOpenStreamW(void) START_TEST(stream) { + if(!GetProcAddress(GetModuleHandleA("urlmon.dll"), "CompareSecurityIds")) { + win_skip("Too old IE\n"); + return; + } + create_file(); test_URLOpenBlockingStreamW(); test_URLOpenStreamW(); diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c index 0db6dff866d..9bd25a70180 100644 --- a/dlls/urlmon/tests/url.c +++ b/dlls/urlmon/tests/url.c @@ -3141,6 +3141,11 @@ START_TEST(url) hurlmon = GetModuleHandle("urlmon.dll"); pCreateAsyncBindCtxEx = (void*) GetProcAddress(hurlmon, "CreateAsyncBindCtxEx"); + if(!GetProcAddress(hurlmon, "CompareSecurityIds")) { + win_skip("Too old IE\n"); + return; + } + complete_event = CreateEvent(NULL, FALSE, FALSE, NULL); complete_event2 = CreateEvent(NULL, FALSE, FALSE, NULL); thread_id = GetCurrentThreadId();