4267. [test] Check sdlz error handling. [RT #41142]

(cherry picked from commit 26177be294)
This commit is contained in:
Mark Andrews 2015-12-02 13:00:42 +11:00
parent 651eecd42d
commit 04a5a82333
5 changed files with 27 additions and 0 deletions

View file

@ -1,3 +1,7 @@
4267. [test] Check sdlz error handling. [RT #41142]
4266. [placeholder]
4265. [bug] Address unchecked isc_mem_get calls. [RT #41187]
4264. [bug] Check const of strchr/strrchr assignments match

View file

@ -0,0 +1,5 @@
Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
The contents of this file is not read by the filesystem driver.
This is the file for "DNAME 10 example.net.".

View file

@ -0,0 +1,5 @@
Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
The contents of this file is not read by the filesystem driver.
This is the file for "NS 10 example.com.".

View file

@ -0,0 +1,5 @@
Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
The contents of this file is not read by the filesystem driver.
This is the file for "SOA 10 ns.example.com. root.example.com. 2010062900 None None None None" which is a malformed SOA record.

View file

@ -70,5 +70,13 @@ n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
echo "I:checking DLZ with a malformed SOA record"
ret=0
$DIG $DIGOPTS broken.com type600 @10.53.0.1 > dig.out.ns1.test$n
grep status: dig.out.ns1.test$n > /dev/null || ret=1
n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
echo "I:exit status: $status"
exit $status