diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-22 07:05:37 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-22 07:05:37 +0000 |
commit | 63aff8f1cffebaeb6320a5f6d2ec8cb9c7d8ea54 (patch) | |
tree | 02cd4b3cc12122efb7171df2ddb8ed71ce7ea278 | |
parent | cdbec31577cae4fcaa3c4dcd0492d2ab81307fe4 (diff) | |
download | rainbows-63aff8f1cffebaeb6320a5f6d2ec8cb9c7d8ea54.tar.gz |
This test seems to fail sometimes with Epoll and XEpoll...
-rw-r--r-- | t/t0050-response-body-close-has-env.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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)" |