From 2ad8e6acae7b2c76d40e00a60a85aef0ea625de5 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 20 Apr 2020 11:49:31 +0200 Subject: [PATCH] tests: abort test runner if exec fails --- tools/run-nm-test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/run-nm-test.sh b/tools/run-nm-test.sh index 21f0d7c154..16d9d8a7ab 100755 --- a/tools/run-nm-test.sh +++ b/tools/run-nm-test.sh @@ -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