[Box Backup-commit] [boxbackup/boxbackup] e59262: ServerControl: add signal checks and wait() wrappe...
noreply at github.com
Sat Dec 8 22:35:01 GMT 2018
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2018-12-08 (Sat, 08 Dec 2018)
ServerControl: add signal checks and wait() wrapper
KillServer: add a parameter to allow the expected exit signal to be checked.
This allows us to determine if a process died for the wrong reason, e.g. if it
failed to catch SIGTERM, or was killed by SIGSEGV instead.
WaitForProcessExit: split out, to make it easier to clean up after forked
daemons, and check their exit status and signal.
test/bbackupd: use these to improve handling and failure mode checking of
forking daemon tests, reducing risk of hangs.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Boxbackup-commit