[PATCH] ws2_32/tests: Remove the todo_wine on a test_recv() ok() call.

Francois Gouget fgouget at codeweavers.com
Thu Feb 17 09:29:58 CST 2022


This test has been succeeding ever since the try_recv() call has 
been removed before the server call in sock_recv().

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
See commit 160eb74fdf2d707b381734c064a17ff6f0ba28b6.
https://test.winehq.org/data/patterns.html#ws2_32:afd
---
 dlls/ws2_32/tests/afd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ws2_32/tests/afd.c b/dlls/ws2_32/tests/afd.c
index d8a78947de4..befd9fc702e 100644
--- a/dlls/ws2_32/tests/afd.c
+++ b/dlls/ws2_32/tests/afd.c
@@ -1460,7 +1460,7 @@ static void test_recv(void)
     memset(buffer, 0xcc, sizeof(buffer));
     ret = NtDeviceIoControlFile((HANDLE)client, event, NULL, NULL, &io,
             IOCTL_AFD_RECV, &params, sizeof(params), NULL, 0);
-    todo_wine ok(ret == STATUS_PIPE_DISCONNECTED, "got %#x\n", ret);
+    ok(ret == STATUS_PIPE_DISCONNECTED, "got %#x\n", ret);
     ok(!io.Status, "got status %#x\n", io.Status);
     ok(!io.Information, "got information %#Ix\n", io.Information);
 
-- 
2.30.2



More information about the wine-devel mailing list