From: Tom Krizek Date: Mon, 19 Jun 2023 15:05:17 +0000 (+0200) Subject: Handle non-zero return codes in statistics test X-Git-Tag: v9.19.16~45^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a36ff506d28ec696edce59e96c97db2745ed483;p=thirdparty%2Fbind9.git Handle non-zero return codes in statistics test --- diff --git a/bin/tests/system/statistics/tests.sh b/bin/tests/system/statistics/tests.sh index 28277a1224b..effbb3dede6 100644 --- a/bin/tests/system/statistics/tests.sh +++ b/bin/tests/system/statistics/tests.sh @@ -89,7 +89,7 @@ status=$((status + ret)) n=$((n + 1)) echo_i "sending queries to ns3" -$DIGCMD +tries=2 +time=1 +recurse @10.53.0.3 foo.info. any > /dev/null 2>&1 +$DIGCMD +tries=2 +time=1 +recurse @10.53.0.3 foo.info. any > /dev/null 2>&1 || true ret=0 echo_i "dumping updated stats for ns3 ($n)"