X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fextsearch.t;h=896e270414bd8eff0e909fe2fbdacf291bec33cf;hb=8ffed15abbec68463ff3f3105d6651c8a4b5d813;hp=ca586f61c29f5ecab581d56a1dc7a1bdb71e51c5;hpb=2eac33fffcf1757675a959e69eb34f04e446bd25;p=public-inbox.git diff --git a/t/extsearch.t b/t/extsearch.t index ca586f61..896e2704 100644 --- a/t/extsearch.t +++ b/t/extsearch.t @@ -336,6 +336,11 @@ if ('reindex catches missed messages') { $es->{xdb}->reopen; $mset = $es->mset("mid:$new->{mid}"); is($mset->size, 0, 'stale mid gone Xapian'); + + ok(run_script([qw(-extindex --reindex --all --fast), "$home/extindex"], + undef, $opt), '--reindex w/ --fast'); + ok(!run_script([qw(-extindex --all --fast), "$home/extindex"], + undef, $opt), '--fast alone makes no sense'); } if ('reindex catches content bifurcation') {