>From a1358e7c566694fa97334c6a62b9a089cfb73ea2 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Tue, 17 Mar 2009 10:28:06 +0100 Subject: [PATCH] Skip some tests on Vista and higher --- dlls/urlmon/tests/protocol.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c index c9c42e8..fbac5c8 100644 --- a/dlls/urlmon/tests/protocol.c +++ b/dlls/urlmon/tests/protocol.c @@ -1854,6 +1854,10 @@ static void test_gopher_protocol(void) trace("Testing gopher protocol...\n"); hres = CoGetClassObject(&CLSID_GopherProtocol, CLSCTX_INPROC_SERVER, NULL, &IID_IUnknown, (void**)&unk); + if (hres == REGDB_E_CLASSNOTREG) { + win_skip("Gopher protocol has been removed as of Vista\n"); + return; + } ok(hres == S_OK, "CoGetClassObject failed: %08x\n", hres); if(FAILED(hres)) return; -- 1.6.0.6