about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/extsearch.t5
1 files changed, 5 insertions, 0 deletions
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') {