]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Test reloading of zones with special
authorMark Andrews <marka@isc.org>
Wed, 4 Mar 2020 01:58:55 +0000 (12:58 +1100)
committerMark Andrews <marka@isc.org>
Fri, 13 Mar 2020 02:38:56 +0000 (13:38 +1100)
bin/tests/system/addzone/tests.sh

index 4ce96bcfdbe4a25a7462133e31867d759082aee6..cfaee81c328c0b8333401148f30790a2b3ed051d 100755 (executable)
@@ -718,6 +718,8 @@ echo_i "check that named restarts with multiple added zones ($n)"
 ret=0
 $RNDCCMD 10.53.0.3 addzone "test4.baz" '{ type master; file "e.db"; };' > /dev/null 2>&1 || ret=1
 $RNDCCMD 10.53.0.3 addzone "test5.baz" '{ type master; file "e.db"; };' > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone '"test/.baz"' '{ type master; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone '"test\".baz"' '{ type master; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
 $PERL $SYSTEMTESTTOP/stop.pl addzone ns3
 $PERL $SYSTEMTESTTOP/start.pl --noclean --restart --port ${PORT} addzone ns3 || ret=1
 retry_quiet 10 _check_version_bind || ret=1