mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 14:50:07 +01:00
tests: abort test runner if exec fails
This commit is contained in:
parent
40b2cf7a0c
commit
2ad8e6acae
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue