summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-03-12 10:45:16 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-03-12 13:22:20 +1100
commit8529b0afc1f56ba29ddcb5a4fdc62790868cfbe6 (patch)
treefb336f2dab79905127db84c7d5a434523fd547cf /selftest
parentbe79f572ed2a5853917eeede3991c1674ad655a6 (diff)
downloadsamba-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-xselftest/selftest.pl3
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);
}