diff options
author | Eric Wong <e@yhbt.net> | 2020-04-19 23:19:37 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-04-20 20:18:21 +0000 |
commit | 6e07def560b211d9a1a3221862e72b7aeb4a31b3 (patch) | |
tree | b6e3b54f928145b3f1c05bd5b0444f70f7eabd4f /t/nulsubject.t | |
parent | 47acfe0e9d09e907393465e155e114e8fdc5f5a1 (diff) | |
download | public-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/nulsubject.t')
-rw-r--r-- | t/nulsubject.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/nulsubject.t b/t/nulsubject.t index b21507c2..1ded88d3 100644 --- a/t/nulsubject.t +++ b/t/nulsubject.t @@ -25,7 +25,8 @@ my $git_dir = "$tmpdir/a.git"; body => "hello world\n", )); $im->done; - is(system(qw(git --git-dir), $git_dir, 'fsck', '--strict'), 0, 'git fsck ok'); + is(xsys(qw(git --git-dir), $git_dir, 'fsck', '--strict'), 0, + 'git fsck ok'); } done_testing(); |