From: Matthijs Mekking Date: Thu, 19 Nov 2020 10:40:19 +0000 (+0100) Subject: Fix syntax in echo_i messages X-Git-Tag: v9.17.8~35^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53188daf5bfb0db5756575404a3cf9852f9064ac;p=thirdparty%2Fbind9.git Fix syntax in echo_i messages It's either "record returns" or "records return". --- diff --git a/bin/tests/system/auth/tests.sh b/bin/tests/system/auth/tests.sh index ecfd451ad59..da4fb95e9e6 100644 --- a/bin/tests/system/auth/tests.sh +++ b/bin/tests/system/auth/tests.sh @@ -70,7 +70,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 @@ -84,7 +84,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 @@ -106,7 +106,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 @@ -117,7 +117,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