From: Evan Hunt Date: Tue, 21 Jun 2011 22:15:05 +0000 (+0000) Subject: Add the newly discovered PoD to the nsupdate test. (No CHANGES note.) X-Git-Tag: v9.9.0a1~143 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=cba23be7ba724b527f6a60c14caaeca9502fbc79;p=thirdparty%2Fbind9.git Add the newly discovered PoD to the nsupdate test. (No CHANGES note.) --- diff --git a/bin/tests/system/nsupdate/tests.sh b/bin/tests/system/nsupdate/tests.sh index 177fa9bedbe..b0cc0d0894e 100644 --- a/bin/tests/system/nsupdate/tests.sh +++ b/bin/tests/system/nsupdate/tests.sh @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: tests.sh,v 1.39 2011/06/09 00:15:05 each Exp $ +# $Id: tests.sh,v 1.40 2011/06/21 22:15:05 each Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh @@ -205,6 +205,18 @@ then status=1 fi +n=`expr $n + 1` +echo "I:check that update to undefined class is handled ($n)" +echo "a0e4280000010001000000000000060101c00c000000fe000000000000" | +$PERL ../packet.pl -a 10.53.0.1 -p 5300 -t tcp > /dev/null +$DIG +tcp version.bind txt ch @10.53.0.1 -p 5300 > dig.out.ns1.$n +grep "status: NOERROR" dig.out.ns1.$n > /dev/null || ret=1 +if test $ret -ne 0 +then + echo "I:failed" + status=1 +fi + if $PERL -e 'use Net::DNS;' 2>/dev/null then echo "I:running update.pl test"