From bb37d7507415cb88551c4eb3fa1f9366093ebb88 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Fri, 1 May 2015 12:13:09 +0300 Subject: [PATCH] ole32/tests: Fix a test failure on Win8. --- dlls/ole32/tests/compobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/tests/compobj.c b/dlls/ole32/tests/compobj.c index 38d82a844f9..220052dca84 100644 --- a/dlls/ole32/tests/compobj.c +++ b/dlls/ole32/tests/compobj.c @@ -1554,7 +1554,7 @@ static void test_registered_object_thread_affinity(void) ok( !WaitForSingleObject(thread, 10000), "wait timed out\n" ); GetExitCodeThread(thread, &exitcode); hr = exitcode; - ok(hr == RPC_E_WRONG_THREAD, "CoRevokeClassObject called from different " + ok(hr == RPC_E_WRONG_THREAD || broken(hr == S_OK) /* win8 */, "CoRevokeClassObject called from different " "thread to where registered should return RPC_E_WRONG_THREAD instead of 0x%08x\n", hr); thread = CreateThread(NULL, 0, register_class_object_thread, NULL, 0, &tid);