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.9.1-P1^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba3ee3c56be5f91cf79b4f22cf6b00f4d25b2281;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