]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make runtime/tests.sh shellcheck and set -e clean
authorOndřej Surý <ondrej@sury.org>
Sat, 16 Nov 2019 05:36:23 +0000 (13:36 +0800)
committerMichał Kępień <michal@isc.org>
Wed, 8 Jan 2020 08:28:24 +0000 (09:28 +0100)
commit57b6aeabd5e3d379f06dfc61d2fefb54240b3f4c
treed5097e5ee7eb14d3f72745848e9624a2017ed1ef
parentd26e7166a6aef712483dfae362a08f1319132f96
Make runtime/tests.sh shellcheck and set -e clean

This mostly comprises of:

* using $(...) instead of `...`
* changing the directories in subshell and not ignoring `cd` return code
* handling every error gracefully instead of ignoring the return code

(cherry picked from commit 340b1d2b6b3c0a8892cb9ac3b06fb126cfbbaf26)
bin/tests/system/runtime/tests.sh