selftest: Rework Samba3.pm process termination
authorAndrew Bartlett <abartlet@samba.org>
Sun, 4 Mar 2012 07:34:34 +0000 (18:34 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 4 Mar 2012 10:51:12 +0000 (11:51 +0100)
commit48e9d7efce1be3b09ed19b3d9a5bf3a3df3800e7
treee7eaa97e4985955b65b941553041a34fe44db2b4
parenta37990c5c15e8077c5466ed139044ed26bae8c5e
selftest: Rework Samba3.pm process termination

We now store the timelimit child PID in memory, and confirm that the child has exited
with both waitpid() and kill(0, $pid).

By calling Samba::cleanup_child() we get exit status information.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun Mar  4 11:51:12 CET 2012 on sn-devel-104
selftest/target/Samba3.pm