mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
[master] statschannel test failed when only JSON was available
This commit is contained in:
parent
9501aa9d5a
commit
a32ca13d12
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user