bind9/bin
Tom Krizek 6f07ba6b7d
Use arithmetic expansion in system tests
Change the way arithmetic operations are performed in system test shell
scripts from using `expr` to `$(())`. This ensures that updating the
variable won't end up with a non-zero exit code, which would case the
script to exit prematurely when `set -e` is in effect.

The following replacements were performed using sed in all text files
(git grep -Il '' | xargs sed -i):

s/status=`expr $status + $ret`/status=$((status + ret))/g
s/n=`expr $n + 1`/n=$((n + 1))/g
s/t=`expr $t + 1`/t=$((t + 1))/g
s/status=`expr $status + 1`/status=$((status + 1))/g
s/try=`expr $try + 1`/try=$((try + 1))/g

(manually picked from commit 4d42bdc245)
2023-07-17 14:12:59 +02:00
..
check deprecate delegation-only and root-delegation only 2023-03-23 14:09:53 -07:00
confgen Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
delv Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
dig dighost.c: don't call check_if_done() twice successively 2023-05-10 11:41:35 +00:00
dnssec Remove trailing whitespace from all text files 2023-06-13 16:13:16 +02:00
named Restore the ability to read legacy K*+157+* files 2023-06-29 10:32:10 +10:00
nsupdate nsupdate: set network manager default timeout values 2023-04-03 16:19:18 +00:00
plugins Remove 'inst != NULL' from cleanup check in plugin_register 2023-04-05 10:27:52 +10:00
rndc set the default rndc read timeout to 60 seconds 2023-05-05 11:46:55 +02:00
tests Use arithmetic expansion in system tests 2023-07-17 14:12:59 +02:00
tools named-rrchecker: have fatal cleanup 2023-02-07 11:15:21 +11:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00