]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/multi-mid: allow test to run w/o Xapian
authorEric Wong <e@yhbt.net>
Mon, 30 Mar 2020 19:42:54 +0000 (19:42 +0000)
committerEric Wong <e@yhbt.net>
Mon, 30 Mar 2020 19:53:56 +0000 (19:53 +0000)
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")
t/multi-mid.t

index 87240c2c44855d9eed03219c00d879d476054cd0..31a8fd74cf29caf77708f2a3e8882fc8f0a3200a 100644 (file)
@@ -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: $?";
 
        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" ];
                'http://example.com/v2c', 'v2c@example.com' ];
        ok(run_script($cmd, $env), 'init clone');
        $cmd = [ '-index', "$tmpdir/v2-clone" ];