From 4f60a84e34bf272b47082dc59c6dd5501e4e3498 Mon Sep 17 00:00:00 2001 From: Curtis Blackburn Date: Thu, 7 Mar 2019 16:09:10 -0800 Subject: [PATCH] the wrong variable was used to count the test cases in one place. --- bin/tests/system/statistics/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/statistics/tests.sh b/bin/tests/system/statistics/tests.sh index 1f552ca71f..ce9d7eab1e 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