X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fconvert-compact.t;fp=t%2Fconvert-compact.t;h=b8dc5ed515e844dd488e9405edeea6c95f00e4f5;hb=ad6f26f3b9f0e428020d05667987556f8fcbec2f;hp=0661ed1416f42dd93937283adb35551a65d33601;hpb=2a3e3a0469f54f6a4f80bf04614e5ddd794a6c5e;p=public-inbox.git diff --git a/t/convert-compact.t b/t/convert-compact.t index 0661ed14..b8dc5ed5 100644 --- a/t/convert-compact.t +++ b/t/convert-compact.t @@ -3,7 +3,6 @@ use strict; use warnings; use Test::More; -use File::Temp qw/tempdir/; use PublicInbox::MIME; use PublicInbox::Spawn qw(which); require './t/common.perl'; @@ -18,7 +17,7 @@ which('xapian-compact') or use_ok 'PublicInbox::V2Writable'; use PublicInbox::Import; -my $tmpdir = tempdir('convert-compact-XXXXXX', TMPDIR => 1, CLEANUP => 1); +my ($tmpdir, $for_destroy) = tmpdir(); my $ibx = { inboxdir => "$tmpdir/v1", name => 'test-v1',