From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 6D9921F934 for ; Tue, 21 Sep 2021 09:29:45 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/3] t/lei-up: use '-q' to silence non-redirected test Date: Tue, 21 Sep 2021 09:29:43 +0000 Message-Id: <20210921092945.23916-2-e@80x24.org> In-Reply-To: <20210921092945.23916-1-e@80x24.org> References: <20210921092945.23916-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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'); });