* [PATCH 1/3] t/lei-up: use '-q' to silence non-redirected test
2021-09-21 9:29 5% ` [PATCH 0/3] lei: a few more annoyances fixed Eric Wong
@ 2021-09-21 9:29 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2021-09-21 9:29 UTC (permalink / raw)
To: meta
We could redirect, too, but just use -q since we don't care
for the output with run_mode => 0.
---
t/lei-up.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/lei-up.t b/t/lei-up.t
index 8937cfb1..fc369156 100644
--- a/t/lei-up.t
+++ b/t/lei-up.t
@@ -35,7 +35,7 @@ test_lei(sub {
$uc = do { local $/; <$fh> };
is($uc, $exp, 'uncompressed both match');
- lei_ok [ 'up', "$ENV{HOME}/b", "--mua=touch $ENV{HOME}/c" ],
+ lei_ok [ qw(up -q), "$ENV{HOME}/b", "--mua=touch $ENV{HOME}/c" ],
undef, { run_mode => 0 };
ok(-f "$ENV{HOME}/c", '--mua works with single output');
});
^ permalink raw reply related [relevance 7%]
* [PATCH 0/3] lei: a few more annoyances fixed
@ 2021-09-21 9:29 5% ` Eric Wong
2021-09-21 9:29 7% ` [PATCH 1/3] t/lei-up: use '-q' to silence non-redirected test Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2021-09-21 9:29 UTC (permalink / raw)
To: meta
The more I use it, the more I find wrong...
Eric Wong (3):
t/lei-up: use '-q' to silence non-redirected test
script/lei: handle SIGTSTP and SIGCONT
lei: umask(077) before opening errors.log
lib/PublicInbox/LEI.pm | 20 +++++++++++++-------
script/lei | 9 ++++-----
t/lei-up.t | 2 +-
3 files changed, 18 insertions(+), 13 deletions(-)
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-09-21 7:41 [PATCH 00/12] lei: fix various annoyances Eric Wong
2021-09-21 9:29 5% ` [PATCH 0/3] lei: a few more annoyances fixed Eric Wong
2021-09-21 9:29 7% ` [PATCH 1/3] t/lei-up: use '-q' to silence non-redirected test Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).