From: Mark Andrews Date: Mon, 19 Mar 2018 12:11:33 +0000 (+1100) Subject: fix temporary file name to have subtest number X-Git-Tag: v9.13.0~82^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4be5667b2c72b90fa3f1a32d3652ee16a7f12c26;p=thirdparty%2Fbind9.git fix temporary file name to have subtest number (cherry picked from commit e12453f43c88bac722fb511b62f12303735b788c) --- diff --git a/bin/tests/system/statistics/tests.sh b/bin/tests/system/statistics/tests.sh index 3dc04099c4f..c6e6785bdbe 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