Commit ec6f9ad3 authored by Jakob Eriksson's avatar Jakob Eriksson Committed by Alexandre Julliard

Fix thread affinity test for SMP machines.

parent 53a44733
...@@ -525,7 +525,7 @@ VOID test_thread_processor(void) ...@@ -525,7 +525,7 @@ VOID test_thread_processor(void)
/* Check the Affinity Mask functions */ /* Check the Affinity Mask functions */
ok(GetProcessAffinityMask(curproc,&processMask,&systemMask)!=0, ok(GetProcessAffinityMask(curproc,&processMask,&systemMask)!=0,
"GetProcessAffinityMask failed\n"); "GetProcessAffinityMask failed\n");
ok(SetThreadAffinityMask(curthread,processMask)==1, ok(SetThreadAffinityMask(curthread,processMask)==processMask,
"SetThreadAffinityMask failed\n"); "SetThreadAffinityMask failed\n");
ok(SetThreadAffinityMask(curthread,processMask+1)==0, ok(SetThreadAffinityMask(curthread,processMask+1)==0,
"SetThreadAffinityMask passed for an illegal processor\n"); "SetThreadAffinityMask passed for an illegal processor\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment