Module: wine Branch: master Commit: bb37d7507415cb88551c4eb3fa1f9366093ebb88 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bb37d7507415cb88551c4eb3fa...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Fri May 1 12:13:09 2015 +0300
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 38d82a8..220052d 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);