mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 20:12:06 -04:00
make a explict edns query so this subtest is independent of other tests
This commit is contained in:
parent
800d25b848
commit
4694229f60
1 changed files with 2 additions and 2 deletions
|
|
@ -478,13 +478,13 @@ status=`expr $status + $ret`
|
|||
n=`expr $n + 1`
|
||||
echo "I:check that E was logged on EDNS queries in the query log (${n})"
|
||||
ret=0
|
||||
grep "query: fetchall.tld IN ANY +E" ns5/named.run > /dev/null || ret=1
|
||||
$DIG @10.53.0.5 -p 5300 +edns edns.fetchall.tld any > dig.out.2.${n} || ret=1
|
||||
grep "query: edns.fetchall.tld IN ANY +E" ns5/named.run > /dev/null || ret=1
|
||||
$DIG @10.53.0.5 -p 5300 +noedns noedns.fetchall.tld any > dig.out.2.${n} || ret=1
|
||||
grep "query: noedns.fetchall.tld IN ANY" ns5/named.run > /dev/null || ret=1
|
||||
grep "query: noedns.fetchall.tld IN ANY +E" ns5/named.run > /dev/null && ret=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