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 <muvarov@gmail.com>
This commit is contained in:
committed by
Tobias Brunner
parent
d8c6fa3b9a
commit
dd256e730d
@@ -19,6 +19,8 @@ DIR=$(dirname `readlink -f $0`)
|
|||||||
. $DIR/function.sh
|
. $DIR/function.sh
|
||||||
SSHCONF="-F $DIR/../ssh_config"
|
SSHCONF="-F $DIR/../ssh_config"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
# load-testconfig requires a testname as an argument
|
# load-testconfig requires a testname as an argument
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user