Use arithmetic expansion in system tests (followup)

These are manual edits in addition of the automated changes from the
previous commit.
This commit is contained in:
Tom Krizek
2023-06-22 14:09:22 +02:00
parent 4d42bdc245
commit 1436025e20
16 changed files with 33 additions and 31 deletions

View File

@@ -416,7 +416,7 @@ EOF
) > /dev/null 2>&1 &
$DIG -p ${PORT} +noadd +notcp +noauth noprimary. @10.53.0.3 soa > dig.out.ns3.test$n.$count || ret=1
grep "status: NOERROR" dig.out.ns3.test$n.$count > /dev/null || ret=1
count=`expr $count + 1`
count=$((count + 1))
done
if [ $ret != 0 ] ; then echo_i "failed"; status=$((status + ret)); fi
n=$((n + 1))