qmgr/tests: Fix tests for some 2k machines
André Hentschel
nerv at dawncrow.de
Sun Dec 19 18:27:06 CST 2010
---
dlls/qmgr/tests/qmgr.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/qmgr/tests/qmgr.c b/dlls/qmgr/tests/qmgr.c
index 6dc9c1c..f149cd9 100644
--- a/dlls/qmgr/tests/qmgr.c
+++ b/dlls/qmgr/tests/qmgr.c
@@ -43,7 +43,8 @@ test_CreateInstance(void)
skip("Needed Service is disabled\n");
return;
}
- ok(hres == S_OK, "CoCreateInstance failed: %08x\n", hres);
+ ok(hres == S_OK || broken(hres == REGDB_E_CLASSNOTREG /* W2K */),
+ "CoCreateInstance failed: %08x\n", hres);
if(hres != S_OK) {
skip("Unable to create bits instance.\n");
return;
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list