From: Evan Hunt Date: Fri, 1 Jun 2012 15:29:06 +0000 (-0700) Subject: add a test for non-inline slaves X-Git-Tag: v9.10.0a1~1169 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a2cd182a836286a52e352b81f98789fbd4aef2f1;p=thirdparty%2Fbind9.git add a test for non-inline slaves --- diff --git a/bin/tests/system/unknown/tests.sh b/bin/tests/system/unknown/tests.sh index a3e3b0afd90..6201d64c9ef 100644 --- a/bin/tests/system/unknown/tests.sh +++ b/bin/tests/system/unknown/tests.sh @@ -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