diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-01-24 22:59:16 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-02-01 21:46:27 +0000 |
commit | cbff7b0892148b037581541184364e0e91d2a138 (patch) | |
tree | 0a747c049c943330b9e0331798d679e0e85791c2 /t/t0200-async-response.sh | |
parent | a552fb90230eb65c28897398c7786dc9a13446ca (diff) | |
download | rainbows-cbff7b0892148b037581541184364e0e91d2a138.tar.gz |
POSIX already stipulates tee(1) must be unbuffered. I think my decision to use utee was due to my being misled by a bug in older curl where -N did not work as advertised (but --no-buffer did).
Diffstat (limited to 't/t0200-async-response.sh')
-rwxr-xr-x | t/t0200-async-response.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t0200-async-response.sh b/t/t0200-async-response.sh index 11917f0..7b2bc49 100755 --- a/t/t0200-async-response.sh +++ b/t/t0200-async-response.sh @@ -26,9 +26,9 @@ t_begin "setup and start" && { t_begin "send async requests off in parallel" && { t0=$(date +%s) - ( curl --no-buffer -sSf http://$listen/ 2>> $curl_err | utee $a) & - ( curl --no-buffer -sSf http://$listen/ 2>> $curl_err | utee $b) & - ( curl --no-buffer -sSf http://$listen/ 2>> $curl_err | utee $c) & + ( curl --no-buffer -sSf http://$listen/ 2>> $curl_err | tee $a) & + ( curl --no-buffer -sSf http://$listen/ 2>> $curl_err | tee $b) & + ( curl --no-buffer -sSf http://$listen/ 2>> $curl_err | tee $c) & wait t1=$(date +%s) } |