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

This commit is contained in:
Mark Andrews
2015-12-02 13:00:42 +11:00
parent f30a3f28db
commit 26177be294
5 changed files with 27 additions and 0 deletions

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