about summary refs log tree commit homepage
path: root/t/v2reindex.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-12 03:52:28 +0000
committerEric Wong <e@80x24.org>2021-03-12 03:57:50 -0400
commitd671f305c4835553bc9ede8f71ed2a24072533a3 (patch)
treee61699122fa210355cc4757fcf4ac8a6f8486140 /t/v2reindex.t
parent0ec3ddaeea0e3eac3f4e686cd4383840414fbc4d (diff)
downloadpublic-inbox-d671f305c4835553bc9ede8f71ed2a24072533a3.tar.gz
Diffstat (limited to 't/v2reindex.t')
-rw-r--r--t/v2reindex.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/v2reindex.t b/t/v2reindex.t
index 56540c8b..a931225c 100644
--- a/t/v2reindex.t
+++ b/t/v2reindex.t
@@ -544,7 +544,8 @@ $check_rethread->('3-headed-monster once');
 $check_rethread->('3-headed-monster twice');
 
 my $rdr = { 2 => \(my $err = '') };
-ok(run_script([qw(-index --reindex --xapian-only), $inboxdir], undef, $rdr),
+my $env = { PI_CONFIG => '/dev/null' };
+ok(run_script([qw(-index --reindex --xapian-only), $inboxdir], $env, $rdr),
         '--xapian-only works');
 is($err, '', 'no errors from --xapian-only');