mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
cleanup tempfiles for erratic_autopath_test (#4080)
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
This commit is contained in:
@@ -14,7 +14,7 @@ func setupProxyTargetCoreDNS(t *testing.T, fn func(string)) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
defer os.Remove(tmpdir)
|
defer os.RemoveAll(tmpdir)
|
||||||
|
|
||||||
content := `
|
content := `
|
||||||
example.org. IN SOA sns.dns.icann.org. noc.dns.icann.org. 1 3600 3600 3600 3600
|
example.org. IN SOA sns.dns.icann.org. noc.dns.icann.org. 1 3600 3600 3600 3600
|
||||||
|
|||||||
Reference in New Issue
Block a user