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:
@@ -153,7 +153,7 @@ fi
|
|||||||
if [ $PERL_JSON ]; then
|
if [ $PERL_JSON ]; then
|
||||||
file=`$PERL fetch.pl json/v1/server`
|
file=`$PERL fetch.pl json/v1/server`
|
||||||
mv $file json.stats
|
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=`awk '/opcode QUERY/ { print $NF }' json.fmtstats`
|
||||||
json_query_count=${json_query_count:-0}
|
json_query_count=${json_query_count:-0}
|
||||||
[ "$query_count" -eq "$json_query_count" ] || ret=1
|
[ "$query_count" -eq "$json_query_count" ] || ret=1
|
||||||
|
Reference in New Issue
Block a user