[PATCH 4/9] dinput/tests: Remove racy controller removed handler check.

Rémi Bernon wine at gitlab.winehq.org
Tue May 3 04:20:46 CDT 2022


From: Rémi Bernon <rbernon at codeweavers.com>

It now consistently fails on w1064_tsign, and it's called concurrently
with the handler invocation.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 dlls/dinput/tests/hotplug.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/dinput/tests/hotplug.c b/dlls/dinput/tests/hotplug.c
index 97e9e69fa9f..e68a6914684 100644
--- a/dlls/dinput/tests/hotplug.c
+++ b/dlls/dinput/tests/hotplug.c
@@ -923,7 +923,6 @@ static LRESULT CALLBACK windows_gaming_input_wndproc( HWND hwnd, UINT msg, WPARA
         {
             ok( wparam == DBT_DEVICEREMOVECOMPLETE, "got wparam %#Ix\n", wparam );
             ok( controller_added.invoked, "controller added handler not invoked\n" );
-            ok( controller_removed.invoked, "controller removed handler not invoked\n" );
         }
         else
         {
-- 
GitLab


https://gitlab.winehq.org/wine/wine/-/merge_requests/26



More information about the wine-devel mailing list