From 88db6aa7b163a5d926c22dda54f77c4fdab31b3c Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sun, 6 Sep 2015 13:07:49 +0200 Subject: [PATCH] kernel32-ThreadGroupAffinity: Mark a test as broken on Win7 and Win8. --- ...0002-kernel32-Implement-Set-GetThreadGroupAffinity.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/kernel32-ThreadGroupAffinity/0002-kernel32-Implement-Set-GetThreadGroupAffinity.patch b/patches/kernel32-ThreadGroupAffinity/0002-kernel32-Implement-Set-GetThreadGroupAffinity.patch index 4835557e..e8757164 100644 --- a/patches/kernel32-ThreadGroupAffinity/0002-kernel32-Implement-Set-GetThreadGroupAffinity.patch +++ b/patches/kernel32-ThreadGroupAffinity/0002-kernel32-Implement-Set-GetThreadGroupAffinity.patch @@ -1,4 +1,4 @@ -From 318239782eedd7da56d610d448c17b355ab0f1be Mon Sep 17 00:00:00 2001 +From 0e15d46d97e226c2a566d7f30c9f67afaabbb6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Sun, 6 Sep 2015 06:19:40 +0200 Subject: kernel32: Implement Set/GetThreadGroupAffinity. @@ -32,7 +32,7 @@ index 77e55e1..bda7c9d 100644 # @ stub SetThreadIdealProcessorEx @ stdcall SetThreadLocale(long) diff --git a/dlls/kernel32/tests/thread.c b/dlls/kernel32/tests/thread.c -index d0fbfa4..3b4eab8 100644 +index d0fbfa4..fc5ff94 100644 --- a/dlls/kernel32/tests/thread.c +++ b/dlls/kernel32/tests/thread.c @@ -99,6 +99,9 @@ static void (WINAPI *pSubmitThreadpoolWork)(PTP_WORK); @@ -146,7 +146,7 @@ index d0fbfa4..3b4eab8 100644 + + SetLastError(0xdeadbeef); + ok(!pGetThreadGroupAffinity(curthread, NULL), "GetThreadGroupAffinity succeeded\n"); -+ ok(GetLastError() == ERROR_INVALID_PARAMETER, ++ ok(GetLastError() == ERROR_INVALID_PARAMETER || broken(GetLastError() == ERROR_NOACCESS), /* Win 7 and 8 */ + "Expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError()); + ok(affinity.Group == 0, "Expected group 0 got %u\n", affinity.Group); +