]> 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:12:26 +0000 (23:12 +1100)
(cherry picked from commit e12453f43c88bac722fb511b62f12303735b788c)

bin/tests/system/statistics/tests.sh

index c2ff6fd29bff803c8cde60724d3e5a0ee371f894..ce83fd5b7a1fa8b448f9ea62a5a014e211b118ad 100644 (file)
@@ -137,8 +137,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