diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-03-12 10:45:16 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-03-12 13:22:20 +1100 |
commit | 8529b0afc1f56ba29ddcb5a4fdc62790868cfbe6 (patch) | |
tree | fb336f2dab79905127db84c7d5a434523fd547cf /selftest | |
parent | be79f572ed2a5853917eeede3991c1674ad655a6 (diff) | |
download | samba-8529b0afc1f56ba29ddcb5a4fdc62790868cfbe6.tar.gz samba-8529b0afc1f56ba29ddcb5a4fdc62790868cfbe6.tar.bz2 samba-8529b0afc1f56ba29ddcb5a4fdc62790868cfbe6.zip |
selftest: Remove dns_host_file every time we start
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/selftest.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl index f5342635e0..7bbad62bbf 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -853,6 +853,9 @@ sub teardown_env($) delete $running_envs{$envname}; } +# This 'global' file needs to be empty when we start +unlink("$prefix_abs/dns_host_file"); + if ($opt_no_lazy_setup) { setup_env($_) foreach (keys %required_envs); } |