diff options
Diffstat (limited to 't/t2000-thread-spawn-basic.sh')
-rwxr-xr-x | t/t2000-thread-spawn-basic.sh | 5 |
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 |