Module: wine Branch: master Commit: ad5e68e8a15953a09e41564f8f01ee9f9aa585fd URL: http://source.winehq.org/git/wine.git/?a=commit;h=ad5e68e8a15953a09e41564f8f...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Thu Mar 19 11:16:28 2009 +0100
urlmon/tests: Fix a test failure on Vista and higher.
---
dlls/urlmon/tests/protocol.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c index c9c42e8..6044c31 100644 --- a/dlls/urlmon/tests/protocol.c +++ b/dlls/urlmon/tests/protocol.c @@ -1854,7 +1854,9 @@ static void test_gopher_protocol(void) trace("Testing gopher protocol...\n");
hres = CoGetClassObject(&CLSID_GopherProtocol, CLSCTX_INPROC_SERVER, NULL, &IID_IUnknown, (void**)&unk); - ok(hres == S_OK, "CoGetClassObject failed: %08x\n", hres); + ok(hres == S_OK || + hres == REGDB_E_CLASSNOTREG, /* Gopher protocol has been removed as of Vista */ + "CoGetClassObject failed: %08x\n", hres); if(FAILED(hres)) return;