]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/replace.t
tests: move t/common.perl to PublicInbox::TestCommon
[public-inbox.git] / t / replace.t
index e9361856aa0c9409f2389caf06f68c1401c9f381..2346c3a19d1103cbee1d00f4f5d1512bebd51c84 100644 (file)
@@ -5,7 +5,7 @@ use warnings;
 use Test::More;
 use PublicInbox::MIME;
 use PublicInbox::InboxWritable;
-require './t/common.perl';
+use PublicInbox::TestCommon;
 use Cwd qw(abs_path);
 require_git(2.6); # replace is v2 only, for now...
 foreach my $mod (qw(DBD::SQLite)) {
@@ -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');