Skip to content

Commit ea3d877

Browse files
committed
Ensure A and AAAA records do not exist before executing tests
1 parent 87848e9 commit ea3d877

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ function test_record()
1212
fi
1313
}
1414

15+
printf "server bind\nzone example.com\nupdate delete myhost.example.com A\nupdate delete myhost.example.com AAAA\nsend" | nsupdate
16+
1517
curl -s "http://app/?hostname=myhost.example.com&myip=1.2.3.4" -u myuser:mypassword
1618
test_record A "1.2.3.4"
1719
test_record AAAA ""

0 commit comments

Comments
 (0)