selftest: Rework Samba4.pm process termination.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 4 Mar 2012 07:32:44 +0000 (18:32 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 4 Mar 2012 09:14:34 +0000 (10:14 +0100)
commita37990c5c15e8077c5466ed139044ed26bae8c5e
tree2c7af77194cc986129ea2acb39750d05453ce241
parente495118aaba20d05e6da937040de4f82b600b70b
selftest: Rework Samba4.pm process termination.

We now double-check the waitpid() result with kill(0, $pid)

We now also send a SIGTERM, then a SIGKILL.

Andrew Bartlett
selftest/target/Samba4.pm