diff options
author | Eric Wong <e@80x24.org> | 2021-03-25 06:20:22 +0200 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-25 17:59:00 +0000 |
commit | 08b14e417843557ec6a42fd9e5f0cedbd81832e8 (patch) | |
tree | 4e7d1153adf38b98cce1eb9c5afd53bdeeb1fef8 /t/watch_filter_rubylang.t | |
parent | 700f2675366ce6cf2cd39a00b5742ba6fea753e9 (diff) | |
download | public-inbox-08b14e417843557ec6a42fd9e5f0cedbd81832e8.tar.gz |
Outside of mirrors, we can -init with indexlevel to avoid calling -index explicitly.
Diffstat (limited to 't/watch_filter_rubylang.t')
-rw-r--r-- | t/watch_filter_rubylang.t | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/t/watch_filter_rubylang.t b/t/watch_filter_rubylang.t index 5deb2082..004e794e 100644 --- a/t/watch_filter_rubylang.t +++ b/t/watch_filter_rubylang.t @@ -30,12 +30,9 @@ for my $v (@v) { my $maildir = "$tmpdir/md-$v"; my $spamdir = "$tmpdir/spam-$v"; my $addr = "test-$v\@example.com"; - my @cmd = ('-init', "-$v", $v, $inboxdir, + my @cmd = ('-init', '-Lfull', "-$v", $v, $inboxdir, "http://example.com/$v", $addr); - ok(run_script(\@cmd), 'public-inbox init OK'); - if ($v eq 'V1') { - ok(run_script(['-index', $inboxdir]), 'v1 indexed'); - } + ok(run_script(\@cmd), 'public-inbox init'); PublicInbox::Emergency->new($spamdir); for my $i (1..15) { |