X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fv2reindex.t;fp=t%2Fv2reindex.t;h=56540c8b1847bbd4ea7aad3d6c0f04cb14569781;hb=764105971054ce2352e38868fd1d3ae4e08c6784;hp=05ea952f43e1002f08028d5bb277208f816bb8d3;hpb=f8911d2ec389880adb5faca49f1fdf816a819561;p=public-inbox.git diff --git a/t/v2reindex.t b/t/v2reindex.t index 05ea952f..56540c8b 100644 --- a/t/v2reindex.t +++ b/t/v2reindex.t @@ -543,4 +543,9 @@ EOF $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), + '--xapian-only works'); +is($err, '', 'no errors from --xapian-only'); + done_testing();