diff options
author | Eric Wong <e@80x24.org> | 2023-12-13 00:50:06 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-12-13 09:01:46 +0000 |
commit | 1f70373f1fe951959eadf1f311152b0131d07303 (patch) | |
tree | f3dfc8ec39d6344a288855904d3f1ae41ede96f7 | |
parent | 235b55840c4066029e56ed91d6d3dc46c921a23b (diff) | |
download | public-inbox-1f70373f1fe951959eadf1f311152b0131d07303.tar.gz |
There are many Linux (GNU or otherwise) which do not have strace(1) installed.
-rw-r--r-- | lib/PublicInbox/TestCommon.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm index 5f123eb4..d587bf10 100644 --- a/lib/PublicInbox/TestCommon.pm +++ b/lib/PublicInbox/TestCommon.pm @@ -978,7 +978,7 @@ sub strace (@) { chomp $ps; skip "strace unusable on daemons\n$f is `$ps' (!= 0)" if $ps; } - require_cmd('strace', 1); + require_cmd('strace', 1) or skip 'strace not available', 1; } sub strace_inject (;$) { |