2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

[master] statschannel test failed when only JSON was available

This commit is contained in:
Evan Hunt
2015-07-20 19:09:22 -07:00
parent 9501aa9d5a
commit a32ca13d12

View 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