s4:smbtorture do not leave output directory around
authorChristian Ambach <christian.ambach@de.ibm.com>
Fri, 18 Feb 2011 14:02:35 +0000 (15:02 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 21 Feb 2011 10:35:30 +0000 (11:35 +0100)
commit2ba57fd1832a4bc3c4c652c08e5f62054ecab79b
tree73343bb11399902a4a11ad5bb7865b3f84e1e33e
parentd2b336ae319053dee96476131a3dc0c45b306b5f
s4:smbtorture do not leave output directory around

calling smbtorture with no or invalid arguments left the temporary
output directory around
this patches removes the dead-end exit from usage and makes the
logic go on until the final cleanup state is reached

output directory will still be left around when test times out
or testcases itself force an exit

also make sure that the directory itself is deleted, not just
the objects in it

Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Feb 21 11:35:30 CET 2011 on sn-devel-104
lib/torture/torture.c
source4/torture/smbtorture.c