diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-08 00:43:24 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-08 00:43:24 -0700 |
commit | ee703a7af485ecdd2b8c96b0ad87f10d6b71a1fc (patch) | |
tree | 5a4b57dad27a9b19ee95f85fa87fcdb71e85a323 /t/t3000-revactor-basic.sh | |
parent | be9e098dc8945e5abddc9a80fc38ce29fc813fc4 (diff) | |
download | rainbows-ee703a7af485ecdd2b8c96b0ad87f10d6b71a1fc.tar.gz |
Since we rely heavily on temporary files in tests, make sure management of them is easy and reliable.
Diffstat (limited to 't/t3000-revactor-basic.sh')
-rwxr-xr-x | t/t3000-revactor-basic.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/t/t3000-revactor-basic.sh b/t/t3000-revactor-basic.sh index eb8741e..0341863 100755 --- a/t/t3000-revactor-basic.sh +++ b/t/t3000-revactor-basic.sh @@ -3,12 +3,7 @@ require_revactor eval $(unused_listen) -unicorn_config=$(mktemp -t rainbows.$$.unicorn.rb.XXXXXXXX) -curl_out=$(mktemp -t rainbows.$$.curl.out.XXXXXXXX) -curl_err=$(mktemp -t rainbows.$$.curl.err.XXXXXXXX) -pid=$(mktemp -t rainbows.$$.pid.XXXXXXXX) -TEST_RM_LIST="$TEST_RM_LIST $pid $unicorn_config $lock_path" -TEST_RM_LIST="$TEST_RM_LIST $curl_out $curl_err" +rtmpfiles unicorn_config curl_out curl_err pid nr_client=30 nr_actor=10 |