[PATCH 5/5] ws2_32/tests: SIOCATMARK is only broken on Linux

Damjan Jovanovic damjan.jov at gmail.com
Sun Jan 5 12:33:02 CST 2020


It works on FreeBSD.

Signed-off-by: Damjan Jovanovic <damjan.jov at gmail.com>
---
 dlls/ws2_32/tests/sock.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
-------------- next part --------------
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 1a3eba529e..09ec356834 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -712,7 +712,10 @@ static VOID WINAPI oob_server ( server_params *par )
     do_synchronous_recv ( mem->sock[0].s, mem->sock[0].buf, n_expected, 0, par->buflen );
 
     ioctlsocket ( mem->sock[0].s, SIOCATMARK, &atmark );
-    todo_wine ok ( atmark == 0, "oob_server (%x): not at the OOB mark: %i\n", id, atmark );
+#if defined(linux)
+todo_wine
+#endif
+    ok ( atmark == 0, "oob_server (%x): not at the OOB mark: %i\n", id, atmark );
 
     /* cleanup */
     wsa_ok ( closesocket ( mem->sock[0].s ),  0 ==, "oob_server (%x): closesocket error: %d\n" );


More information about the wine-devel mailing list