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-08 00:43:24 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-08 00:43:24 -0700
commitee703a7af485ecdd2b8c96b0ad87f10d6b71a1fc (patch)
tree5a4b57dad27a9b19ee95f85fa87fcdb71e85a323 /t/t3000-revactor-basic.sh
parentbe9e098dc8945e5abddc9a80fc38ce29fc813fc4 (diff)
downloadrainbows-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-xt/t3000-revactor-basic.sh7
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