about summary refs log tree commit homepage
path: root/t/t2000-thread-spawn-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/t2000-thread-spawn-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/t2000-thread-spawn-basic.sh')
-rwxr-xr-xt/t2000-thread-spawn-basic.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/t2000-thread-spawn-basic.sh b/t/t2000-thread-spawn-basic.sh
index da60d00..37aa029 100755
--- a/t/t2000-thread-spawn-basic.sh
+++ b/t/t2000-thread-spawn-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
@@ -33,3 +35,4 @@ kill $(cat $pid)
 test x"$(wc -l < $curl_out)" = x$nr_client
 nr=$(sort < $curl_out | uniq | wc -l)
 test "$nr" -eq $nr_client
+! grep Error $r_err