tests: abort test runner if exec fails

(cherry picked from commit 2ad8e6acae)
(cherry picked from commit 24ab6b6cdc)
(cherry picked from commit b10d90a549)
(cherry picked from commit 3ca48236e4)
This commit is contained in:
Thomas Haller 2020-04-20 11:49:31 +02:00
parent e15cc4d0fc
commit 96dec0e21e

View file

@ -232,6 +232,7 @@ if ! _is_true "$NMTST_USE_VALGRIND" 0; then
export NM_TEST_UNDER_VALGRIND=0
exec "${NMTST_DBUS_RUN_SESSION[@]}" \
"$TEST" "$@"
die "exec \"$TEST\" failed"
fi
if [[ -z "${NMTST_VALGRIND}" ]]; then