diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-18 18:47:07 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-18 23:12:26 +0100 |
commit | 5be4bfdc376ec518c2c1ec10946335f7741f847d (patch) | |
tree | 72db17f1b5963b26251193184d02195bdb9c2a61 /source4 | |
parent | 27c3bc8c013a75f6b437a2e47b10ec4fb6a2920b (diff) | |
download | samba-5be4bfdc376ec518c2c1ec10946335f7741f847d.tar.gz samba-5be4bfdc376ec518c2c1ec10946335f7741f847d.tar.bz2 samba-5be4bfdc376ec518c2c1ec10946335f7741f847d.zip |
s4-wintest: remove files in var/ when reprovisioning
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/scripting/devel/wintest/test-howto.py | 1 |
1 files changed, 1 insertions, 0 deletions
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}') |