Commit f6262eb2 authored by Zhou Hao's avatar Zhou Hao Committed by GitHub

cleanup tempfiles for erratic_autopath_test (#4080)

Signed-off-by: default avatarZhou Hao <zhouhao@cn.fujitsu.com>
parent abeba460
......@@ -14,7 +14,7 @@ func setupProxyTargetCoreDNS(t *testing.T, fn func(string)) {
if err != nil {
t.Fatal(err)
}
defer os.Remove(tmpdir)
defer os.RemoveAll(tmpdir)
content := `
example.org. IN SOA sns.dns.icann.org. noc.dns.icann.org. 1 3600 3600 3600 3600
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment