From 8529b0afc1f56ba29ddcb5a4fdc62790868cfbe6 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 12 Mar 2010 10:45:16 +1100 Subject: selftest: Remove dns_host_file every time we start --- selftest/selftest.pl | 3 +++ 1 file changed, 3 insertions(+) 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); } -- cgit