diff options
Diffstat (limited to 't/v2reindex.t')
-rw-r--r-- | t/v2reindex.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/v2reindex.t b/t/v2reindex.t index 3e56ddfa..e222d0f1 100644 --- a/t/v2reindex.t +++ b/t/v2reindex.t @@ -5,7 +5,6 @@ use warnings; use Test::More; use PublicInbox::MIME; use PublicInbox::ContentId qw(content_digest); -use File::Temp qw/tempdir/; use File::Path qw(remove_tree); require './t/common.perl'; require_git(2.6); @@ -15,7 +14,7 @@ foreach my $mod (qw(DBD::SQLite Search::Xapian)) { plan skip_all => "$mod missing for v2reindex.t" if $@; } use_ok 'PublicInbox::V2Writable'; -my $inboxdir = tempdir('pi-v2reindex-XXXXXX', TMPDIR => 1, CLEANUP => 1); +my ($inboxdir, $for_destroy) = tmpdir(); my $ibx_config = { inboxdir => $inboxdir, name => 'test-v2writable', |