From 4be5667b2c72b90fa3f1a32d3652ee16a7f12c26 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 19 Mar 2018 23:11:33 +1100 Subject: [PATCH] fix temporary file name to have subtest number (cherry picked from commit e12453f43c88bac722fb511b62f12303735b788c) --- 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 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 -- GitLab