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