mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 23:50:00 -04:00
check that we have non-cachable answers to test against
This commit is contained in:
parent
2bd0d8b03f
commit
8fa6ca58b6
1 changed files with 3 additions and 1 deletions
|
|
@ -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.64 2010/06/25 23:50:13 marka Exp $
|
||||
# $Id: tests.sh,v 1.65 2010/06/28 01:31:49 marka Exp $
|
||||
|
||||
SYSTEMTESTTOP=..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
|
|
@ -875,6 +875,7 @@ echo "I:checking a non-cachable NODATA works ($n)"
|
|||
ret=0
|
||||
$DIG $DIGOPTS +noauth a.nosoa.secure.example. txt @10.53.0.7 \
|
||||
> dig.out.ns2.test$n || ret=1
|
||||
grep "AUTHORITY: 0" dig.out.ns2.test$n > /dev/null || ret=1
|
||||
$DIG $DIGOPTS +noauth a.nosoa.secure.example. txt @10.53.0.4 \
|
||||
> dig.out.ns4.test$n || ret=1
|
||||
grep "status: NOERROR" dig.out.ns4.test$n > /dev/null || ret=1
|
||||
|
|
@ -886,6 +887,7 @@ echo "I:checking a non-cachable NXDOMAIN works ($n)"
|
|||
ret=0
|
||||
$DIG $DIGOPTS +noauth b.nosoa.secure.example. txt @10.53.0.7 \
|
||||
> dig.out.ns2.test$n || ret=1
|
||||
grep "AUTHORITY: 0" dig.out.ns2.test$n > /dev/null || ret=1
|
||||
$DIG $DIGOPTS +noauth b.nosoa.secure.example. txt @10.53.0.4 \
|
||||
> dig.out.ns4.test$n || ret=1
|
||||
grep "status: NXDOMAIN" dig.out.ns4.test$n > /dev/null || ret=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue