diff options
author | 2020-08-20 21:11:56 +0800 | |
---|---|---|
committer | 2020-08-20 06:11:56 -0700 | |
commit | f6262eb2f688f4953980f8193dcaa4a7bc2018cd (patch) | |
tree | 7e4eb2c2bdaa337b66d4ea233a95e102d11aa3c0 /test | |
parent | abeba46029e4d833f756b61365cff5a361c497f6 (diff) | |
download | coredns-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.go | 2 |
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 |