selftest: Use fork()/exec() rather than system()
authorAndrew Bartlett <abartlet@samba.org>
Sun, 4 Mar 2012 06:30:45 +0000 (17:30 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 4 Mar 2012 09:14:34 +0000 (10:14 +0100)
commitd715e2c2948cf642e725bee56f1f43e2395a2025
tree328d81fb5656d1bb703f87c43894b9a1cd3ad394
parent769cee44a2ed1b68cb757246efd72d63aa36a4d0
selftest: Use fork()/exec() rather than system()

This follows the Samba3.pm model for starting child processes is to
use fork()/exec().  This reduces the number of processes being created
by selftest.pl, and gives us more information about the child process
and the running state in the parent.

Andrew Bartlett
selftest/target/Samba.pm
selftest/target/Samba4.pm