mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 17:20:00 -04:00
check that example/DS is not fetched when validating a.example
(cherry picked from commit 4293a2f4bf)
This commit is contained in:
parent
2e85ede202
commit
c9e6813899
1 changed files with 9 additions and 0 deletions
|
|
@ -184,6 +184,15 @@ n=$((n+1))
|
|||
test "$ret" -eq 0 || echo_i "failed"
|
||||
status=$((status+ret))
|
||||
|
||||
echo_i "checking that 'example/DS' from the referral was used in previous validation ($n)"
|
||||
ret=0
|
||||
grep "query 'example/DS/IN' approved" ns1/named.run > /dev/null && ret=1
|
||||
grep "fetch: example/DS" ns4/named.run > /dev/null && ret=1
|
||||
grep "validating example/DS: starting" ns4/named.run > /dev/null || ret=1
|
||||
n=$((n+1))
|
||||
test "$ret" -eq 0 || echo_i "failed"
|
||||
status=$((status+ret))
|
||||
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo_i "checking positive validation NSEC using dns_client ($n)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue