mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 22:42:04 -04:00
Add test for checkconf glob include
This commit is contained in:
parent
f67ef86048
commit
44caa64f39
1 changed files with 8 additions and 0 deletions
|
|
@ -50,5 +50,13 @@ grep '^mars.com.' dig.out.ns2.$n > /dev/null || ret=1
|
|||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
# Test 4: named-checkconf correctly parses glob includes.
|
||||
n=`expr $n + 1`
|
||||
echo_i "checking named-checkconf with glob include ($n)"
|
||||
ret=0
|
||||
(cd ns2; $CHECKCONF named.conf) || ret=1
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
echo_i "exit status: $status"
|
||||
[ $status -eq 0 ] || exit 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue