mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-05 04:27:55 +00:00
8e2ebe9057
Run the wait loop of the postscript against real processes. A process that is still running is reported as still there, and the loop gives up instead of waiting for ever. A process that has ended is reported as gone, and no time is spent on it. The loop runs with a shorter bound so that the test does not spend the whole timeout, and the bound of the postscript is checked on its own. Cover that the check for a running process sends no signal, that the daemon still gets the signal it cannot catch, and that the wait comes before the new daemon starts.