Handle non-zero return codes in statistics test
(cherry picked from commit 3a36ff506d)
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user