From: Mark Andrews Date: Mon, 19 Mar 2018 11:31:22 +0000 (+1100) Subject: fix typo X-Git-Tag: v9.13.0~83^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e4b5f23454fe44daecf0971be6a5552e17d7718;p=thirdparty%2Fbind9.git fix typo --- diff --git a/bin/tests/system/statistics/tests.sh b/bin/tests/system/statistics/tests.sh index f1cdf48f1f7..3dc04099c4f 100644 --- a/bin/tests/system/statistics/tests.sh +++ b/bin/tests/system/statistics/tests.sh @@ -71,7 +71,7 @@ $RNDCCMD -s 10.53.0.3 stats > /dev/null 2>&1 [ -f ns3/named.stats ] || ret=1 [ "$CYGWIN" ] || \ nsock0nstat=`grep "UDP/IPv4 sockets active" ns3/named.stats | awk '{print $1}'` -[ 0 -ne ${nsock0nstat:0} ] || ret=1 +[ 0 -ne ${nsock0nstat:-0} ] || ret=1 if [ $ret != 0 ]; then echo_i "failed"; fi status=`expr $status + $ret` n=`expr $n + 1`