ole32/tests: Fix a test failure on Win8.

This commit is contained in:
Nikolay Sivov 2015-05-01 12:13:09 +03:00 committed by Alexandre Julliard
parent 21b9c5f023
commit bb37d75074
1 changed files with 1 additions and 1 deletions

View File

@ -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);