lei/store: stop shard workers + cat-file on idle
[public-inbox.git] / t / lei-reindex.t
blob73346ee8f08fd2527d593ab2db6bc26d6758d954
1 #!perl -w
2 # Copyright (C) all contributors <meta@public-inbox.org>
3 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
4 use v5.12; use PublicInbox::TestCommon;
5 require_mods(qw(lei));
6 my ($tmpdir, $for_destroy) = tmpdir;
7 test_lei(sub {
8         ok(!lei('reindex'), 'reindex fails w/o store');
9         like $lei_err, qr/nothing indexed/, "`nothing indexed' noted";
10 });
12 done_testing;