diff options
author | Eric Wong <e@80x24.org> | 2021-02-02 11:46:49 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-02-03 07:32:34 +0000 |
commit | 7349713101700e488231ad9ffece8ee42de0928c (patch) | |
tree | 45de833819a70eae44219515945ce7299059fbdf /xt | |
parent | a9ba3d10482daea78739f3da6c8d7739ac8af3fc (diff) | |
download | public-inbox-7349713101700e488231ad9ffece8ee42de0928c.tar.gz |
Sometimes it can be confusing for "lei q" to finish writing to a Maildir|mbox and not know if it did anything. So show some per-external progress and stats. These can be disabled via the new --quiet/-q switch. We differ slightly from mairix(1) here, as we use stderr instead of stdout for reporting totals (and we support parallel queries from various sources).
Diffstat (limited to 'xt')
-rw-r--r-- | xt/lei-sigpipe.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xt/lei-sigpipe.t b/xt/lei-sigpipe.t index 448bd7db..1aa9ed07 100644 --- a/xt/lei-sigpipe.t +++ b/xt/lei-sigpipe.t @@ -15,7 +15,7 @@ my $do_test = sub { pipe(my ($r, $w)) or BAIL_OUT $!; open my $err, '+>', undef or BAIL_OUT $!; my $opt = { run_mode => 0, 1 => $w, 2 => $err }; - my $cmd = [qw(lei q -t), @$out, 'bytes:1..']; + my $cmd = [qw(lei q -q -t), @$out, 'bytes:1..']; my $tp = start_script($cmd, $env, $opt); close $w; sysread($r, my $buf, 1); |