]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use "set -e" in the "tcp" system test
authorMichał Kępień <michal@isc.org>
Thu, 7 Nov 2019 11:25:39 +0000 (12:25 +0100)
committerMichał Kępień <michal@isc.org>
Tue, 19 Nov 2019 14:39:03 +0000 (15:39 +0100)
commitb1294b049cf05afa076e2b5d87ef96da22b96ac8
treeb2f0ae15d3eedf654770c20672da2144ca9a5ab3
parent5e818012e513935a90cce4e16a46a0c2c60c9fe1
Use "set -e" in the "tcp" system test

Ensure any unexpected failure in the "tcp" system test causes it to be
immediately interrupted with an error to make the aforementioned test
more reliable.  Since the exit code for "expr 0 + 0" is 1, the status
variable needs to be updated using arithmetic expansion.

(cherry picked from commit 9841635b7f7adba64597247318f352c678082cfc)
bin/tests/system/tcp/tests.sh