about summary refs log tree commit homepage
path: root/t/t1000-thread-pool-basic.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-12 00:26:46 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-12 00:26:46 -0700
commit95bd43f95375c79255016f867b7cc524c6b27db8 (patch)
tree002c9b05451a09babe78986bac269a0c11edfc23 /t/t1000-thread-pool-basic.sh
parent7096b494fac72a9b4444f2b5b7f32d3bdc17d44a (diff)
downloadrainbows-95bd43f95375c79255016f867b7cc524c6b27db8.tar.gz
And fix existing tests that use "grep -v" since that
is almost always true...
Diffstat (limited to 't/t1000-thread-pool-basic.sh')
-rwxr-xr-xt/t1000-thread-pool-basic.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/t1000-thread-pool-basic.sh b/t/t1000-thread-pool-basic.sh
index 68b98ac..1510ab6 100755
--- a/t/t1000-thread-pool-basic.sh
+++ b/t/t1000-thread-pool-basic.sh
@@ -2,12 +2,14 @@
 . ./test-lib.sh
 
 eval $(unused_listen)
-rtmpfiles unicorn_config curl_out curl_err pid
+rtmpfiles unicorn_config curl_out curl_err pid r_err r_out
 
 nr_client=30
 nr_thread=10
 
 cat > $unicorn_config <<EOF
+stderr_path "$r_err"
+stdout_path "$r_out"
 listen "$listen"
 pid "$pid"
 Rainbows! do
@@ -36,3 +38,5 @@ nr=$(sort < $curl_out | uniq | wc -l)
 
 test "$nr" -le $nr_thread
 test "$nr" -gt 1
+
+! grep Error $r_err