diff options
author | Eric Wong <e@80x24.org> | 2020-12-09 09:25:11 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-12-10 06:39:38 +0000 |
commit | abf5f024af0a78f27b132772838ed1189e2ba75b (patch) | |
tree | 2df581e0fccc7f35b5912a5b145a968ffb4f214b /t | |
parent | db0fff29f2ee736117ba03e8d1e0ad8a251013f3 (diff) | |
download | public-inbox-abf5f024af0a78f27b132772838ed1189e2ba75b.tar.gz |
There's no need for per-inbox Xapian DBs when using extindex, so reduce wear on the poor systems this test runs on.
Diffstat (limited to 't')
-rw-r--r-- | t/extsearch.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/extsearch.t b/t/extsearch.t index 97786b21..96512227 100644 --- a/t/extsearch.t +++ b/t/extsearch.t @@ -25,8 +25,8 @@ EOF close $fh or BAIL_OUT $!; my $v2addr = 'v2test@example.com'; my $v1addr = 'v1test@example.com'; -ok(run_script([qw(-init -V2 v2test --newsgroup v2.example), "$home/v2test", - 'http://example.com/v2test', $v2addr ]), 'v2test init'); +ok(run_script([qw(-init -Lbasic -V2 v2test --newsgroup v2.example), + "$home/v2test", 'http://example.com/v2test', $v2addr ]), 'v2test init'); my $env = { ORIGINAL_RECIPIENT => $v2addr }; my $eml = eml_load('t/utf8.eml'); @@ -50,7 +50,7 @@ seek($fh, 0, SEEK_SET) or BAIL_OUT $!; $env = { ORIGINAL_RECIPIENT => $v1addr }; run_script(['-mda', '--no-precheck'], $env, { 0 => $fh }) or BAIL_OUT '-mda'; -run_script(['-index', "$home/v1test"]) or BAIL_OUT "index $?"; +run_script([qw(-index -Lbasic), "$home/v1test"]) or BAIL_OUT "index $?"; ok(run_script([qw(-extindex --all), "$home/extindex"]), 'extindex init'); { |