]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix temporary file name to have subtest number
authorMark Andrews <marka@isc.org>
Mon, 19 Mar 2018 12:11:33 +0000 (23:11 +1100)
committerMark Andrews <marka@isc.org>
Mon, 19 Mar 2018 12:14:28 +0000 (23:14 +1100)
(cherry picked from commit e12453f43c88bac722fb511b62f12303735b788c)

bin/tests/system/statistics/tests.sh

index 3dc04099c4f9bda71d2ef89a29c81d7c0a0650d7..c6e6785bdbef39a7d1497a663cf5a49f5dc23255 100644 (file)
@@ -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 '<zone name="32/1.0.0.127-in-addr.example" rdataclass="IN">' 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 '<zone name="32/1.0.0.127-in-addr.example" rdataclass="IN">' curl.out.${n} > /dev/null || ret=1
 else
     echo_i "skipping test as libxml2 and/or curl was not found"
 fi