There are many Linux (GNU or otherwise) which do not have strace(1) installed. --- lib/PublicInbox/TestCommon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 (;$) {