X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fv2reindex.t;h=a931225c74b7e479e69436bf47f41eac6ee3c55a;hb=d671f305c4835553bc9ede8f71ed2a24072533a3;hp=56540c8b1847bbd4ea7aad3d6c0f04cb14569781;hpb=0ec3ddaeea0e3eac3f4e686cd4383840414fbc4d;p=public-inbox.git 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');