about summary refs log tree commit homepage
path: root/t/httpd.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-03-03 09:07:40 +0000
committerEric Wong <e@80x24.org>2016-03-03 09:07:51 +0000
commit5cddfa50765d59157e15488c235fe01202db0972 (patch)
tree87d0c30c70a3c2b0d46eac057f0f84c07ddf3a62 /t/httpd.t
parente6b8bee29611b86b5672b8b48ecf7fcd86ea41fd (diff)
downloadpublic-inbox-5cddfa50765d59157e15488c235fe01202db0972.tar.gz
This should make identifiying leftover directories
due to SIGKILL-ed tests easier.
Diffstat (limited to 't/httpd.t')
-rw-r--r--t/httpd.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/httpd.t b/t/httpd.t
index ad636fc1..25b4f418 100644
--- a/t/httpd.t
+++ b/t/httpd.t
@@ -17,7 +17,7 @@ use Socket qw(SO_KEEPALIVE IPPROTO_TCP TCP_NODELAY);
 use IPC::Run;
 
 # FIXME: too much setup
-my $tmpdir = tempdir(CLEANUP => 1);
+my $tmpdir = tempdir('pi-httpd-XXXXXX', TMPDIR => 1, CLEANUP => 1);
 my $home = "$tmpdir/pi-home";
 my $err = "$tmpdir/stderr.log";
 my $out = "$tmpdir/stdout.log";