smbtorture: Do not leak child processes when exiting
commitc892217a1236a5fde9072d726605e2e1b610a160
authorChristof Schmitt <christof.schmitt@us.ibm.com>
Thu, 15 Dec 2011 20:53:48 +0000 (15 13:53 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 2 Feb 2012 00:35:27 +0000 (2 01:35 +0100)
tree011a044f6b08d22ef3ea36fad4b30efcf089d46f
parent3101d9bc2d741f57f04d48d5613d8f1c9697ef8e
smbtorture: Do not leak child processes when exiting

When some child processes could not be created, smbtorture would exit
and leave the successfully started child processes running.  Add a loop
to kill the existing child processes for this case.

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb  2 01:35:27 CET 2012 on sn-devel-104
source4/torture/util_smb.c