From 9de2c06a21acf86c1f0a266b669f50946a19c8ad Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Wed, 18 May 2022 11:23:21 +0200 Subject: [PATCH] Fix typo in ednscompliance test Caused by ba0313e649b9de3d746cc8a748cd02da75f258bd, an incomplete fix of spelling errors. --- bin/tests/system/ednscompliance/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/ednscompliance/tests.sh b/bin/tests/system/ednscompliance/tests.sh index 2a5a246eae..6bd7dafcda 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`