ws2_32/tests: Turn a randomly behaving test into a trace

André Hentschel nerv at dawncrow.de
Sat Jun 25 08:18:37 CDT 2016


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---

It behaves different across windows versions, 32-/64-bit, and between runs...

 dlls/ws2_32/tests/sock.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 6853279..172064e 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -638,14 +638,14 @@ static VOID WINAPI oob_server ( server_params *par )
     ok ( n_sent == n_expected,
          "oob_server (%x): sent less data than expected: %d of %d\n", id, n_sent, n_expected );
 
-    /* Receive a part of the out-of-band data and check atmark state */
+    /* Receive a part of the out-of-band data and print atmark state */
     n_recvd = do_synchronous_recv ( mem->sock[0].s, mem->sock[0].buf, 8, 0, par->buflen );
     ok ( n_recvd == 8,
          "oob_server (%x): received less data than expected: %d of %d\n", id, n_recvd, 8 );
     n_expected -= 8;
 
     ioctlsocket ( mem->sock[0].s, SIOCATMARK, &atmark );
-    todo_wine ok ( atmark == 0, "oob_server (%x): not at the OOB mark: %i\n", id, atmark );
+    trace( "oob_server (%x): %s the OOB mark: %i\n", id, atmark == 1 ? "not at" : "at", atmark );
 
     /* Receive the rest of the out-of-band data and check atmark state */
     do_synchronous_recv ( mem->sock[0].s, mem->sock[0].buf, n_expected, 0, par->buflen );
-- 
2.7.4




More information about the wine-patches mailing list