From 63aff8f1cffebaeb6320a5f6d2ec8cb9c7d8ea54 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 22 Jun 2011 07:05:37 +0000 Subject: t0050: improve diagnostics for this test This test seems to fail sometimes with Epoll and XEpoll... --- t/t0050-response-body-close-has-env.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/t0050-response-body-close-has-env.sh b/t/t0050-response-body-close-has-env.sh index e7e6a68..f33a1ac 100644 --- a/t/t0050-response-body-close-has-env.sh +++ b/t/t0050-response-body-close-has-env.sh @@ -16,6 +16,7 @@ req_pipelined () { pfx=$1 t_begin "make pipelined requests to trigger $pfx response body" && { > $r_out + rm -f $ok ( cat $fifo > $tmp & printf 'GET /%s/1 HTTP/1.1\r\n' $pfx @@ -35,7 +36,8 @@ req_pipelined () { reload () { t_begin 'reloading Rainbows! to ensure writeout' && { # ensure worker is loaded before HUP - curl -s http://$listen/ >/dev/null + rm -f $curl_err $curl_out + curl -vs http://$listen/ >$curl_out 2> $curl_err # reload to ensure everything is flushed kill -HUP $rainbows_pid test xSTART = x"$(cat $fifo)" -- cgit v1.2.3-24-ge0c7