Module: wine
Branch: master
Commit: 2da42cec5b087c15da540910ab6b800d84f1d234
URL: https://gitlab.winehq.org/wine/wine/-/commit/2da42cec5b087c15da540910ab6b80…
Author: Esme Povirk <esme(a)codeweavers.com>
Date: Wed Sep 13 15:02:25 2023 -0500
user32/tests: Delete a faulty test.
I prefer not to delete any tests, but I see no way to preserve
this one while accounting for the possibility of an ignored
message coming in during the 100 ms wait, and for the most part
it seems redundant with other tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53435
---
dlls/user32/tests/msg.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index c05982a9939..9ae772fc355 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -19688,11 +19688,6 @@ static void test_SendMessage_other_thread(int thread_n)
/* intentionally yield */
MsgWaitForMultipleObjects(0, NULL, FALSE, 100, qs_all_input);
- ret = GetQueueStatus(QS_SENDMESSAGE|QS_POSTMESSAGE);
- /* FIXME: remove once Wine is fixed */
- todo_wine_if (thread_n == 2)
- ok(ret == 0, "wrong status %08lx\n", ret);
-
if (winetest_debug > 1) trace("main: call PeekMessage\n");
ok(!PeekMessageA(&msg, 0, 0, 0, PM_REMOVE), "PeekMessage should fail\n");
ok_sequence(WmEmptySeq, "SendMessage from other thread 5", thread_n == 2);