From: Curtis Blackburn Date: Fri, 8 Mar 2019 00:09:10 +0000 (-0800) Subject: the wrong variable was used to count the test cases in one place. X-Git-Tag: v9.15.0~114^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=4f60a84e34bf272b47082dc59c6dd5501e4e3498;p=thirdparty%2Fbind9.git the wrong variable was used to count the test cases in one place. --- diff --git a/bin/tests/system/statistics/tests.sh b/bin/tests/system/statistics/tests.sh index 1f552ca71f1..ce9d7eab1e4 100644 --- a/bin/tests/system/statistics/tests.sh +++ b/bin/tests/system/statistics/tests.sh @@ -145,8 +145,8 @@ n=`expr $n + 1` ret=0 echo_i "checking that zones return their type ($n)" if $FEATURETEST --have-libxml2 && [ -x ${CURL} ] ; then - ${CURL} http://10.53.0.1:${EXTRAPORT1}/xml/v3/zones > curl.out.${t} 2>/dev/null || ret=1 - grep 'master' curl.out.${t} > /dev/null || ret=1 + ${CURL} http://10.53.0.1:${EXTRAPORT1}/xml/v3/zones > curl.out.${n} 2>/dev/null || ret=1 + grep 'master' curl.out.${n} > /dev/null || ret=1 else echo_i "skipping test as libxml2 and/or curl was not found" fi