From 4b7027a8da04beb2cc3ac0384e3d251f9cf8f41f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 10 Aug 2015 13:13:58 +0200 Subject: [PATCH] Avoid race condition in test Apparently openssl s_server does not flush stdout, anyway sometimes the client receives the reply and exits, thus terminating the test, before is request is visible on the server's stdout. So, just don't check that, checking the client's output and exit code is already enough. --- tests/ssl-opt.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 65c19555d..dadadf546 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -3238,7 +3238,6 @@ run_test "DTLS proxy: 3d, openssl server" \ "$O_SRV -dtls1 -mtu 2048" \ "$P_CLI dtls=1 hs_timeout=250-60000 tickets=0" \ 0 \ - -s "Extra-header:" \ -c "HTTP/1.0 200 OK" needs_more_time 8 @@ -3247,7 +3246,6 @@ run_test "DTLS proxy: 3d, openssl server, fragmentation" \ "$O_SRV -dtls1 -mtu 768" \ "$P_CLI dtls=1 hs_timeout=250-60000 tickets=0" \ 0 \ - -s "Extra-header:" \ -c "HTTP/1.0 200 OK" needs_more_time 8 @@ -3256,7 +3254,6 @@ run_test "DTLS proxy: 3d, openssl server, fragmentation, nbio" \ "$O_SRV -dtls1 -mtu 768" \ "$P_CLI dtls=1 hs_timeout=250-60000 nbio=2 tickets=0" \ 0 \ - -s "Extra-header:" \ -c "HTTP/1.0 200 OK" requires_gnutls