about summary refs log tree commit homepage
path: root/t/v2writable.t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-04-19 23:19:37 +0000
committerEric Wong <e@yhbt.net>2020-04-20 20:18:21 +0000
commit6e07def560b211d9a1a3221862e72b7aeb4a31b3 (patch)
treeb6e3b54f928145b3f1c05bd5b0444f70f7eabd4f /t/v2writable.t
parent47acfe0e9d09e907393465e155e114e8fdc5f5a1 (diff)
downloadpublic-inbox-6e07def560b211d9a1a3221862e72b7aeb4a31b3.tar.gz
Barely noticeable on Linux, but this gives a 1-2% speedup
on a FreeBSD 11.3 VM and lets us use built-in redirects
rather than relying on /bin/sh.
Diffstat (limited to 't/v2writable.t')
-rw-r--r--t/v2writable.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/v2writable.t b/t/v2writable.t
index 66d5663e..8897062a 100644
--- a/t/v2writable.t
+++ b/t/v2writable.t
@@ -48,7 +48,7 @@ my $git0;
 if ('ensure git configs are correct') {
         my @cmd = (qw(git config), "--file=$inboxdir/all.git/config",
                 qw(core.sharedRepository 0644));
-        is(system(@cmd), 0, "set sharedRepository in all.git");
+        is(xsys(@cmd), 0, "set sharedRepository in all.git");
         $git0 = PublicInbox::Git->new("$inboxdir/git/0.git");
         chomp(my $v = $git0->qx(qw(config core.sharedRepository)));
         is($v, '0644', 'child repo inherited core.sharedRepository');