From: Andrew Tridgell Date: Thu, 18 Nov 2010 07:47:07 +0000 (+1100) Subject: s4-wintest: remove files in var/ when reprovisioning X-Git-Tag: samba-4.0.0alpha14~924 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=5be4bfdc376ec518c2c1ec10946335f7741f847d;p=samba.git s4-wintest: remove files in var/ when reprovisioning --- diff --git a/source4/scripting/devel/wintest/test-howto.py b/source4/scripting/devel/wintest/test-howto.py index ad93ef642b4..1f70c56cd49 100755 --- a/source4/scripting/devel/wintest/test-howto.py +++ b/source4/scripting/devel/wintest/test-howto.py @@ -31,6 +31,7 @@ def provision_s4(t): t.info('Provisioning s4') t.chdir('${PREFIX}') t.run_cmd("rm -rf etc private") + t.run_cmd("find var -type f | xargs rm -f") t.run_cmd('sbin/provision --realm=${LCREALM} --domain=${DOMAIN} --adminpass=${PASSWORD1} --server-role="domain controller" --function-level=2008 -d${DEBUGLEVEL}') t.run_cmd('bin/samba-tool newuser testallowed ${PASSWORD1}') t.run_cmd('bin/samba-tool newuser testdenied ${PASSWORD1}')