diff --git a/bin/tests/system/statistics/tests.sh b/bin/tests/system/statistics/tests.sh index 3dc04099c4f9bda71d2ef89a29c81d7c0a0650d7..c6e6785bdbef39a7d1497a663cf5a49f5dc23255 100644 --- a/bin/tests/system/statistics/tests.sh +++ b/bin/tests/system/statistics/tests.sh @@ -132,8 +132,8 @@ n=`expr $n + 1` ret=0 echo_i "checking that zones with slash are properly shown in XML output ($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 '' 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 '' curl.out.${n} > /dev/null || ret=1 else echo_i "skipping test as libxml2 and/or curl was not found" fi