Module: wine Branch: master Commit: 64732ccab43aca40f27cfbda34befddc8594ab7d URL: http://source.winehq.org/git/wine.git/?a=commit;h=64732ccab43aca40f27cfbda34...
Author: André Hentschel nerv@dawncrow.de Date: Sat Jun 25 15:18:37 2016 +0200
ws2_32/tests: Turn a randomly behaving test into a trace.
Signed-off-by: André Hentschel nerv@dawncrow.de Signed-off-by: Bruno Jesus 00cpxxx@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 ed31f25..d47c175 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 );