mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
kernel32-ThreadGroupAffinity: Mark a test as broken on Win7 and Win8.
This commit is contained in:
parent
031935bc29
commit
88db6aa7b1
@ -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?= <michael@fds-team.de>
|
||||
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);
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user