From dd256e730d3775f437cb50e94de14f63e12e73c0 Mon Sep 17 00:00:00 2001 From: Maxim Uvarov Date: Mon, 24 Jun 2024 17:05:20 +0300 Subject: [PATCH] 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 --- testing/scripts/load-testconfig | 2 ++ 1 file changed, 2 insertions(+) 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 # -- 2.47.3