]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/replace: quiet "git fsck" invocation
authorEric Wong <e@80x24.org>
Thu, 28 Nov 2019 20:54:34 +0000 (20:54 +0000)
committerEric Wong <e@80x24.org>
Fri, 29 Nov 2019 01:56:23 +0000 (01:56 +0000)
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

index e9361856aa0c9409f2389caf06f68c1401c9f381..57290f96edccef4e17db2be2b93a74dfb9e74058 100644 (file)
@@ -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');