mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 19:00:00 -04:00
4267. [test] Check sdlz error handling. [RT #41142]
(cherry picked from commit 26177be294)
This commit is contained in:
parent
651eecd42d
commit
04a5a82333
5 changed files with 27 additions and 0 deletions
4
CHANGES
4
CHANGES
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.".
|
||||
|
|
@ -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.".
|
||||
|
|
@ -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.
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue