]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add the newly discovered PoD to the nsupdate test. (No CHANGES note.)
authorEvan Hunt <each@isc.org>
Tue, 21 Jun 2011 22:14:15 +0000 (22:14 +0000)
committerEvan Hunt <each@isc.org>
Tue, 21 Jun 2011 22:14:15 +0000 (22:14 +0000)
bin/tests/system/nsupdate/tests.sh

index 7c68a1953f1123776f313ffb4cfbb0e3c4108b1f..5135ffcbeb021c253fe7daed4db68179b0af23c8 100644 (file)
@@ -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"