]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add a test for non-inline slaves
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:34:26 +0000 (08:34 -0700)
bin/tests/system/unknown/tests.sh

index 3ee7efea4692510ac7faa67ad9c814a9848ecb52..4d635c41db7e688731d015b148764fd7c72783ab 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