From: Evan Hunt Date: Tue, 21 Jun 2011 22:14:15 +0000 (+0000) Subject: Add the newly discovered PoD to the nsupdate test. (No CHANGES note.) X-Git-Tag: v9.4-ESV-R5~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47b9b9b60f277dd381efebc356b3e65bc6973e2c;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 7c68a1953f1..5135ffcbeb0 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.23.18.2 2011/06/09 07:12:57 tbox Exp $ +# $Id: tests.sh,v 1.23.18.3 2011/06/21 22:14:15 each Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh @@ -113,6 +113,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"