From: Eric Wong Date: Mon, 30 Mar 2020 19:42:54 +0000 (+0000) Subject: t/multi-mid: allow test to run w/o Xapian X-Git-Tag: v1.4.0~41 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=14561ae19938facc8ddf5038eafed3df9519ee10 t/multi-mid: allow test to run w/o Xapian While the v1 inbox in this test is created without Xapian, the v2 inbox in this test defaults to having Xapian enabled regardless of whether it's installed or not. Fixes: c7acdfe78bda5bf3 ("v2: SDBM-based multi Message-ID queue") --- diff --git a/t/multi-mid.t b/t/multi-mid.t index 87240c2c..31a8fd74 100644 --- a/t/multi-mid.t +++ b/t/multi-mid.t @@ -67,7 +67,7 @@ for my $order ([$bad, $good], [$good, $bad]) { system(qw(git clone -sq --mirror), "$tmpdir/v2/git/0.git", "$tmpdir/v2-clone/git/0.git") == 0 or die "clone: $?"; - $cmd = [ '-init', '-V2', 'v2c', "$tmpdir/v2-clone", + $cmd = [ '-init', '-Lbasic', '-V2', 'v2c', "$tmpdir/v2-clone", 'http://example.com/v2c', 'v2c@example.com' ]; ok(run_script($cmd, $env), 'init clone'); $cmd = [ '-index', "$tmpdir/v2-clone" ];