Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
3 changed files
with
103 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters