cleanup temporary file usage in tests
commit112fe9265b4f5b3504504a1a36cafad9c6ceffeb
authorEric Wong <normalperson@yhbt.net>
Tue, 6 Oct 2009 01:13:12 +0000 (5 18:13 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 6 Oct 2009 01:16:04 +0000 (5 18:16 -0700)
tree4eee5d524c9bc1d98f829f43221f9731acc55ac2
parentd7f1ced710864fd743c605cb85aa35208bf518b3
cleanup temporary file usage in tests

mktemp(1) requires files to end with "XXXXXXXX", not just have
that template anywhere.  Also, add pid files to the TEST_RM_LIST
since test failures can leave a pid file dangling.  Lastly,
since the config.ru files are 100% static, just check them
as standalone files in instead of allocating a tempfile on them
for easier maintenance.
t/t0000-basic.sh
t/t0000.ru [new file with mode: 0644]
t/t1000-thread-pool-basic.sh
t/t1000.ru [new file with mode: 0644]
t/t2000-thread-spawn-basic.sh
t/t2000.ru [new file with mode: 0644]
t/t3000-revactor-basic.sh
t/t3000.ru [new file with mode: 0644]
t/t3100-revactor-tee-input.sh