From: Michal Nowak Date: Wed, 18 May 2022 09:23:21 +0000 (+0200) Subject: Fix typo in ednscompliance test X-Git-Tag: v9.19.2~28^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9de2c06a21acf86c1f0a266b669f50946a19c8ad;p=thirdparty%2Fbind9.git Fix typo in ednscompliance test Caused by ba0313e649b9de3d746cc8a748cd02da75f258bd, an incomplete fix of spelling errors. --- diff --git a/bin/tests/system/ednscompliance/tests.sh b/bin/tests/system/ednscompliance/tests.sh index 2a5a246eae3..6bd7dafcda6 100644 --- a/bin/tests/system/ednscompliance/tests.sh +++ b/bin/tests/system/ednscompliance/tests.sh @@ -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`