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

seccomp / libseccomp / 855
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: issues/463
DEFAULT BRANCH: main
Ran 05 Mar 2021 11:48PM UTC
Jobs 1
Files 53
Run time 5s
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

pending completion
855

push

travis-ci

pcmoore
<a href="https://github.com/seccomp/libseccomp/commit/<a class=hub.com/seccomp/libseccomp/commit/f679355a87d8e8ad5bc16d23e2a2e174a03a6f11">f679355a8<a href="https://github.com/seccomp/libseccomp/commit/f679355a87d8e8ad5bc16d23e2a2e174a03a6f11">&quot;&gt;doc: don&amp;#39;t return -1 from main in manpage examples

It is custom for C functions to return a negative integer to denote
an error. This should not be done with main() though, as the return
value is used as an exit code, which is a byte (unsigned char), so
return -1 becomes 255, which is unconventional.

Fix examples where main returns -1 to return 1.

Signed-off-by: Kir Kolyshkin &amp;lt;kolyshkin@gmail.com&amp;gt;
Reviewed-by: Tom Hromatka &amp;lt;tom.hromatka@oracle.com&amp;gt;
[PM: subject line tweaks]
Signed-off-by: Paul Moore &amp;lt;paul@paul-moore.com&gt;
(imported from commit </a><a class="double-link" href="https://github.com/seccomp/libseccomp/commit/<a class="double-link" href="https://github.com/seccomp/libseccomp/commit/6d5a0bb22c8162c167900a47d57ebdeeb22ff8c0">6d5a0bb22</a>">6d5a0bb22</a><a href="https://github.com/seccomp/libseccomp/commit/f679355a87d8e8ad5bc16d23e2a2e174a03a6f11">)

4370 of 4697 relevant lines covered (93.04%)

241753.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 855.1 (COVERITY_SCAN_TOKEN=[secure]) 05 Mar 2021 11:48PM UTC 0
93.04
Travis Job 855.1
Source Files on build 855
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #855
  • f679355a on github
  • Prev Build on release-2.5 (#817)
  • Next Build on release-2.5 (#857)
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

© 2026 Coveralls, Inc