Nikolay Sivov : urlmon/tests: Accept another failure error code.

Alexandre Julliard julliard at winehq.org
Mon Nov 25 13:33:16 CST 2013


Module: wine
Branch: master
Commit: d1cda1d4bee42370e31c731bc26198c091198b14
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d1cda1d4bee42370e31c731bc26198c091198b14

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Nov 25 18:16:02 2013 +0400

urlmon/tests: Accept another failure error code.

---

 dlls/urlmon/tests/protocol.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index d4e9663..7ba375b 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -3319,7 +3319,7 @@ static void test_gopher_protocol(void)
 
     hres = CoGetClassObject(&CLSID_GopherProtocol, CLSCTX_INPROC_SERVER, NULL, &IID_IUnknown, (void**)&unk);
     ok(hres == S_OK ||
-       hres == REGDB_E_CLASSNOTREG, /* Gopher protocol has been removed as of Vista */
+       broken(hres == REGDB_E_CLASSNOTREG || hres == CLASS_E_CLASSNOTAVAILABLE), /* Gopher protocol has been removed as of Vista */
        "CoGetClassObject failed: %08x\n", hres);
     if(FAILED(hres))
         return;




More information about the wine-cvs mailing list