From: Maxim Uvarov Date: Mon, 24 Jun 2024 14:05:20 +0000 (+0300) Subject: testing: Enable error code checks for load-testconfig X-Git-Tag: android-2.5.2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd256e730d3775f437cb50e94de14f63e12e73c0;p=thirdparty%2Fstrongswan.git testing: Enable error code checks for load-testconfig Errors in load-testconfig are hidden due to not checking scp return code and mute all errors. Add -e to trap script on any errors in this script. References strongswan/strongswan#2310 Signed-off-by: Maxim Uvarov --- diff --git a/testing/scripts/load-testconfig b/testing/scripts/load-testconfig index 7deaa1e85f..3101467d6e 100755 --- a/testing/scripts/load-testconfig +++ b/testing/scripts/load-testconfig @@ -19,6 +19,8 @@ DIR=$(dirname `readlink -f $0`) . $DIR/function.sh SSHCONF="-F $DIR/../ssh_config" +set -e + ########################################################################## # load-testconfig requires a testname as an argument #