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=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,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 301F71F464 for ; Thu, 28 Nov 2019 20:54:36 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/2] t/replace: quiet "git fsck" invocation Date: Thu, 28 Nov 2019 20:54:34 +0000 Message-Id: <20191128205435.21704-2-e@80x24.org> In-Reply-To: <20191128205435.21704-1-e@80x24.org> References: <20191128205435.21704-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Test output can be a terminal if running as "perl -I lib t/$FOO.t", and showing fsck progress is pointless for tests. --- t/replace.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/replace.t b/t/replace.t index e9361856..57290f96 100644 --- a/t/replace.t +++ b/t/replace.t @@ -99,8 +99,9 @@ EOF for my $dir (glob("$ibx->{inboxdir}/git/*.git")) { my ($bn) = ($dir =~ m!([^/]+)\z!); - is(system(qw(git --git-dir), $dir, qw(fsck --strict)), 0, - "git fsck is clean in epoch $bn"); + is(system(qw(git --git-dir), $dir, + qw(fsck --strict --no-progress)), + 0, "git fsck is clean in epoch $bn"); } my $thread_b = $ibx->over->get_thread('replace@example.com');