X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Freplace.t;h=2efa25f1457e685c7557477331694c88254cedb1;hb=6e07def560b211d9a1a3221862e72b7aeb4a31b3;hp=085b49eea102c0cf7722bd4c89ac5de14515288c;hpb=a09f678d8254064af7ca6dcfb3c3f84b5ae37b51;p=public-inbox.git
diff --git a/t/replace.t b/t/replace.t
index 085b49ee..2efa25f1 100644
--- a/t/replace.t
+++ b/t/replace.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2019 all contributors
+# Copyright (C) 2019-2020 all contributors
# License: AGPL-3.0+
use strict;
use warnings;
@@ -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");
}