From 5be4bfdc376ec518c2c1ec10946335f7741f847d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 18 Nov 2010 18:47:07 +1100 Subject: s4-wintest: remove files in var/ when reprovisioning --- source4/scripting/devel/wintest/test-howto.py | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/scripting/devel') diff --git a/source4/scripting/devel/wintest/test-howto.py b/source4/scripting/devel/wintest/test-howto.py index ad93ef642b..1f70c56cd4 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}') -- cgit