aboutsummaryrefslogtreecommitdiff
path: root/test/auto_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/auto_test.go')
-rw-r--r--test/auto_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/auto_test.go b/test/auto_test.go
index f5cfa4069..f7e5faecd 100644
--- a/test/auto_test.go
+++ b/test/auto_test.go
@@ -16,6 +16,7 @@ func TestAuto(t *testing.T) {
if err != nil {
t.Fatal(err)
}
+ defer os.RemoveAll(tmpdir)
corefile := `org:0 {
auto {
@@ -74,6 +75,7 @@ func TestAutoNonExistentZone(t *testing.T) {
if err != nil {
t.Fatal(err)
}
+ defer os.RemoveAll(tmpdir)
corefile := `.:0 {
auto {
@@ -112,6 +114,7 @@ func TestAutoAXFR(t *testing.T) {
if err != nil {
t.Fatal(err)
}
+ defer os.RemoveAll(tmpdir)
corefile := `org:0 {
auto {