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

stefanberger / swtpm / 931
74%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2018 03:14PM UTC
Jobs 1
Files 480
Run time 23s
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
931

push

travis-ci

Stefan Berger
swtpm_setup.sh: First send SIGTERM to processes then (later) SIGKILL

Implement terminate_proc, which first tries to gracefully terminate a
process and then, if synchronization is requested, waits for 1 second
for it to disappear and then kills it with SIGKILL if it didn't go away.

Use this function for stop_tpm and stop_tcsd, which will first try
to send a SIGTERM to a process assuming it will terminate while we
do something else and then, in case the process needs to be restarted,
make sure that it's gone before it is restarted.

This addresses an issue where previously SIGTERM was sent to a process
before it was restarted but the restarting failed due to the previous
process still holding a lock on the file because it wasn't able to react
to the SIGTERM fast enough.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>

3261 of 4645 relevant lines covered (70.2%)

23167.95 hits per line

Jobs
ID Job ID Ran Files Coverage
2 931.2 (CONFIG="--with-openssl --prefix=/usr --enable-test-coverage" SUDO="sudo" CHECK="check") 23 Nov 2018 03:14PM UTC 0
70.2
Travis Job 931.2
Source Files on build 931
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #931
  • 41c8da12 on github
  • Prev Build on master (#926)
  • Next Build on master (#935)
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