• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

seccomp / libseccomp / 7434773454
89%

Build:
DEFAULT BRANCH: main
Ran 07 Jan 2024 12:18AM UTC
Jobs 1
Files 27
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jan 2024 12:14AM UTC coverage: 89.474%. Remained the same
7434773454

push

github

pcmoore
tests: avoid use of non-portable `which`

which is not a standard POSIX utility, and indeed, each of these test scripts
uses #!/bin/bash as its shebang, so we can use `type -P` which has the same
behaviour as `which` for free.

(If the tests used POSIX shell, we could do `command -v`, its only caveat is
that it'll pick up functions in the user's shell, which doesn't matter 99% of
the time anyway.)

Distributions like Debian [0] and Gentoo [1] are looking to remove `which`
from their base set of packages.

[0] https://lwn.net/Articles/874049/
[1] https://bugs.gentoo.org/646588

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Paul Moore <paul@paul-moore.com>

2669 of 2983 relevant lines covered (89.47%)

302132.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 amd64 - 7434773454.1 07 Jan 2024 12:17AM UTC 27
89.47
GitHub Action Run
Source Files on build 7434773454
  • Tree
  • List 27
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 47ca6441 on github
  • Prev Build on main (#7065974633)
  • Next Build on main (#8739331221)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc