]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add a test for non-inline slaves v9.9.1-P1
authorEvan Hunt <each@isc.org>
Fri, 1 Jun 2012 15:29:06 +0000 (08:29 -0700)
committerEvan Hunt <each@isc.org>
Fri, 1 Jun 2012 15:29:52 +0000 (08:29 -0700)
bin/tests/system/unknown/tests.sh

index a3e3b0afd90a10652adfe56f927f463fafd8aac6..6201d64c9efb480fe42548d9a2927518f3a11806 100644 (file)
@@ -136,6 +136,16 @@ diff -s large.out dig.out > /dev/null || { ret=1 ; echo "I: diff failed"; }
 [ $ret = 0 ] || echo "I: failed"
 status=`expr $status + $ret`
 
+echo "I:checking large unknown record loading on slave"
+ret=0
+$DIG $DIGOPTS @10.53.0.2 +tcp +short large.example TYPE45234 > dig.out || { ret=1 ; echo I: dig failed ; }
+diff -s large.out dig.out > /dev/null || { ret=1 ; echo "I: diff failed"; }
+[ $ret = 0 ] || echo "I: failed"
+status=`expr $status + $ret`
+
+echo "I:stop and restart slave"
+$PERL $SYSTEMTESTTOP/stop.pl . ns2
+$PERL $SYSTEMTESTTOP/start.pl --noclean --restart . ns2
 
 echo "I:checking large unknown record loading on slave"
 ret=0