]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] statschannel test failed when only JSON was available
authorEvan Hunt <each@isc.org>
Tue, 21 Jul 2015 02:09:22 +0000 (19:09 -0700)
committerEvan Hunt <each@isc.org>
Tue, 21 Jul 2015 02:09:22 +0000 (19:09 -0700)
bin/tests/system/statschannel/tests.sh

index 0581ae3ec0f51a217a33e0ab25cf8c556552062c..c1291d85a10f6fd199580c905b738f2c0f4e07c4 100644 (file)
@@ -153,7 +153,7 @@ fi
 if [ $PERL_JSON ]; then
     file=`$PERL fetch.pl json/v1/server`
     mv $file json.stats
-    $PERL server-xml.pl > json.fmtstats 2> /dev/null
+    $PERL server-json.pl > json.fmtstats 2> /dev/null
     json_query_count=`awk '/opcode QUERY/ { print $NF }' json.fmtstats` 
     json_query_count=${json_query_count:-0}
     [ "$query_count" -eq "$json_query_count" ] || ret=1