]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix typo in ednscompliance test
authorMichal Nowak <mnowak@isc.org>
Wed, 18 May 2022 09:23:21 +0000 (11:23 +0200)
committerMichal Nowak <mnowak@isc.org>
Wed, 18 May 2022 17:16:43 +0000 (19:16 +0200)
Caused by ba0313e649b9de3d746cc8a748cd02da75f258bd, an incomplete fix of
spelling errors.

(cherry picked from commit 9de2c06a21acf86c1f0a266b669f50946a19c8ad)

bin/tests/system/ednscompliance/tests.sh

index 2a5a246eae3a5946a023e4fe46b106b284805f66..6bd7dafcda685ff27d470caf0d9a09310a5e941d 100644 (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`