kernel32/tests: Avoid test failure on multicore machines.

This commit is contained in:
Detlef Riekenberg 2013-03-16 18:23:59 +01:00 committed by Alexandre Julliard
parent c2d53af33b
commit ece3fafcda

View file

@ -829,8 +829,6 @@ static VOID test_thread_processor(void)
ok(retMask == processMask, "SetThreadAffinityMask failed\n"); ok(retMask == processMask, "SetThreadAffinityMask failed\n");
retMask = SetThreadAffinityMask(curthread,~(ULONG_PTR)0 >> 3); retMask = SetThreadAffinityMask(curthread,~(ULONG_PTR)0 >> 3);
ok(retMask == processMask, "SetThreadAffinityMask failed\n"); ok(retMask == processMask, "SetThreadAffinityMask failed\n");
retMask = SetThreadAffinityMask(curthread,~(ULONG_PTR)1);
ok(retMask == 0, "SetThreadAffinityMask succeeded\n");
} }
/* NOTE: This only works on WinNT/2000/XP) */ /* NOTE: This only works on WinNT/2000/XP) */
if (pSetThreadIdealProcessor) { if (pSetThreadIdealProcessor) {