Merge branch 'mnowak/fix-typo-in-ednscompliance-test' into 'main'

Fix typo in ednscompliance test

See merge request isc-projects/bind9!6323
This commit is contained in:
Michal Nowak
2022-05-18 17:15:04 +00:00

View File

@@ -49,7 +49,7 @@ ret=0 reason=
$DIG $DIGOPTS @10.53.0.1 +edns=100 +noednsnegotiation soa $zone > dig.out$n
grep "status: BADVERS," dig.out$n > /dev/null || { ret=1; reason="status"; }
grep "EDNS: version: 0," dig.out$n > /dev/null || { ret=1; reason="version"; }
grep "IN.SOA." dig.out$n > /dev/null && { ret=1; reasons="soa"; }
grep "IN.SOA." dig.out$n > /dev/null && { ret=1; reason="soa"; }
if [ $ret != 0 ]; then echo_i "failed $reason"; fi
status=`expr $status + $ret`