aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Zhou Hao <zhouhao@cn.fujitsu.com> 2020-08-20 21:11:56 +0800
committerGravatar GitHub <noreply@github.com> 2020-08-20 06:11:56 -0700
commitf6262eb2f688f4953980f8193dcaa4a7bc2018cd (patch)
tree7e4eb2c2bdaa337b66d4ea233a95e102d11aa3c0 /test
parentabeba46029e4d833f756b61365cff5a361c497f6 (diff)
downloadcoredns-f6262eb2f688f4953980f8193dcaa4a7bc2018cd.tar.gz
coredns-f6262eb2f688f4953980f8193dcaa4a7bc2018cd.tar.zst
coredns-f6262eb2f688f4953980f8193dcaa4a7bc2018cd.zip
cleanup tempfiles for erratic_autopath_test (#4080)
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
Diffstat (limited to 'test')
-rw-r--r--test/erratic_autopath_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/erratic_autopath_test.go b/test/erratic_autopath_test.go
index 4ccd5b136..ef7729815 100644
--- a/test/erratic_autopath_test.go
+++ b/test/erratic_autopath_test.go
@@ -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