From a32ca13d12fd2d683664d42bd9871e6c294ba310 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Mon, 20 Jul 2015 19:09:22 -0700 Subject: [PATCH] [master] statschannel test failed when only JSON was available --- bin/tests/system/statschannel/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/statschannel/tests.sh b/bin/tests/system/statschannel/tests.sh index 0581ae3ec0..c1291d85a1 100644 --- a/bin/tests/system/statschannel/tests.sh +++ b/bin/tests/system/statschannel/tests.sh @@ -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