From: Matthijs Mekking Date: Thu, 19 Nov 2020 10:40:19 +0000 (+0100) Subject: Fix syntax in echo_i messages X-Git-Tag: v9.16.10~16^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=259db795798cd125b583c6455d97d593071d10fe;p=thirdparty%2Fbind9.git Fix syntax in echo_i messages It's either "record returns" or "records return". (cherry picked from commit 53188daf5bfb0db5756575404a3cf9852f9064ac) --- diff --git a/bin/tests/system/auth/tests.sh b/bin/tests/system/auth/tests.sh index ea9e14d32ad..d03c9e9bf87 100644 --- a/bin/tests/system/auth/tests.sh +++ b/bin/tests/system/auth/tests.sh @@ -71,7 +71,7 @@ grep "server.example.net.*A.*10.53.0.100" dig.out.test$n > /dev/null && ret=1 status=`expr $status + $ret` n=`expr $n + 1` -echo_i "check that cross-zone CNAME records returns target data (rd=1/ra=1) ($n)" +echo_i "check that cross-zone CNAME records return target data (rd=1/ra=1) ($n)" ret=0 $DIG $DIGOPTS @10.53.0.2 www.example.com > dig.out.test$n || ret=1 grep "ANSWER: 2," dig.out.test$n > /dev/null || ret=1 @@ -85,7 +85,7 @@ status=`expr $status + $ret` # In-zone CNAME records should always be followed regardless of RD and RA. # n=`expr $n + 1` -echo_i "check that in-zone CNAME records returns target data (rd=0/ra=0) ($n)" +echo_i "check that in-zone CNAME records return target data (rd=0/ra=0) ($n)" ret=0 $DIG $DIGOPTS +norec @10.53.0.1 inzone.example.com > dig.out.test$n || ret=1 grep "ANSWER: 2," dig.out.test$n > /dev/null || ret=1 @@ -107,7 +107,7 @@ grep "a.example.com.*A.*10.53.0.1" dig.out.test$n > /dev/null || ret=1 status=`expr $status + $ret` n=`expr $n + 1` -echo_i "check that in-zone CNAME records returns target data (rd=0/ra=1) ($n)" +echo_i "check that in-zone CNAME records return target data (rd=0/ra=1) ($n)" ret=0 $DIG $DIGOPTS +norec @10.53.0.2 inzone.example.com > dig.out.test$n || ret=1 grep "ANSWER: 2," dig.out.test$n > /dev/null || ret=1 @@ -118,7 +118,7 @@ grep "a.example.com.*A.*10.53.0.1" dig.out.test$n > /dev/null || ret=1 status=`expr $status + $ret` n=`expr $n + 1` -echo_i "check that in-zone CNAME records returns target data (rd=1/ra=1) ($n)" +echo_i "check that in-zone CNAME records return target data (rd=1/ra=1) ($n)" ret=0 $DIG $DIGOPTS @10.53.0.2 inzone.example.com > dig.out.test$n || ret=1 grep "ANSWER: 2," dig.out.test$n > /dev/null || ret=1