[PATCH] kernel32/tests: Avoid test failure on multicore machines
Detlef Riekenberg
wine.dev at web.de
Sat Mar 16 12:23:59 CDT 2013
Switching to a core !=0 is always possible
on a multicore machine with default process affinity
--
By by ... Detlef
---
dlls/kernel32/tests/thread.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/tests/thread.c b/dlls/kernel32/tests/thread.c
index 76a7a33..55014f8 100644
--- a/dlls/kernel32/tests/thread.c
+++ b/dlls/kernel32/tests/thread.c
@@ -829,8 +829,6 @@ static VOID test_thread_processor(void)
ok(retMask == processMask, "SetThreadAffinityMask failed\n");
retMask = SetThreadAffinityMask(curthread,~(ULONG_PTR)0 >> 3);
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) */
if (pSetThreadIdealProcessor) {
--
1.7.5.4
More information about the wine-patches
mailing list