]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/replace.t
testcommon: spawn-aware system() and qx[] workalikes
[public-inbox.git] / t / replace.t
index a44560fc8dc3b806354ef5880b20f38cb0017ad6..2efa25f1457e685c7557477331694c88254cedb1 100644 (file)
@@ -95,7 +95,7 @@ EOF
 
        for my $dir (glob("$ibx->{inboxdir}/git/*.git")) {
                my ($bn) = ($dir =~ m!([^/]+)\z!);
-               is(system(qw(git --git-dir), $dir,
+               is(xsys(qw(git --git-dir), $dir,
                                        qw(fsck --strict --no-progress)),
                        0, "git fsck is clean in epoch $bn");
        }