s4-wintest: remove files in var/ when reprovisioning
authorAndrew Tridgell <tridge@samba.org>
Thu, 18 Nov 2010 07:47:07 +0000 (18:47 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 18 Nov 2010 22:12:26 +0000 (23:12 +0100)
source4/scripting/devel/wintest/test-howto.py

index ad93ef6..1f70c56 100755 (executable)
@@ -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}')