about summary refs log tree commit homepage
path: root/t/t3000-revactor-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/t3000-revactor-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/t3000-revactor-basic.sh')
-rwxr-xr-xt/t3000-revactor-basic.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/t3000-revactor-basic.sh b/t/t3000-revactor-basic.sh
index 0341863..29d9b98 100755
--- a/t/t3000-revactor-basic.sh
+++ b/t/t3000-revactor-basic.sh
@@ -3,7 +3,7 @@
 require_revactor
 
 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_actor=10
@@ -11,6 +11,8 @@ nr_actor=10
 cat > $unicorn_config <<EOF
 listen "$listen"
 pid "$pid"
+stderr_path "$r_err"
+stdout_path "$r_out"
 Rainbows! do
   use :Revactor
   worker_connections $nr_actor
@@ -35,3 +37,4 @@ test x"$(wc -l < $curl_out)" = x$nr_client
 nr=$(sort < $curl_out | uniq | wc -l)
 
 test "$nr" -eq 1
+! grep Error $r_err