X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fhttpd-unix.t;fp=t%2Fhttpd-unix.t;h=f7881cfaf0094eb892a5ec80f11b99b6653ff3f0;hb=ad6f26f3b9f0e428020d05667987556f8fcbec2f;hp=5ec70fd8f1836f74e7ccd7c239115e6db81eb74a;hpb=2a3e3a0469f54f6a4f80bf04614e5ddd794a6c5e;p=public-inbox.git diff --git a/t/httpd-unix.t b/t/httpd-unix.t index 5ec70fd8..f7881cfa 100644 --- a/t/httpd-unix.t +++ b/t/httpd-unix.t @@ -12,9 +12,8 @@ foreach my $mod (qw(Plack::Util Plack::Builder HTTP::Date HTTP::Status)) { plan skip_all => "$mod missing for httpd-unix.t" if $@; } -use File::Temp qw/tempdir/; use IO::Socket::UNIX; -my $tmpdir = tempdir('httpd-unix-XXXXXX', TMPDIR => 1, CLEANUP => 1); +my ($tmpdir, $for_destroy) = tmpdir(); my $unix = "$tmpdir/unix.sock"; my $psgi = './t/httpd-corner.psgi'; my $out = "$tmpdir/out.log";