mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 18:20:29 +01:00
tests: propagate 77 exit code from "tools/run-nm-test.sh"
This is important. We must not swallow 77, which has the meaning
that the test was skipped.
Fixes: f65747f6e9 ('tests: let "run-nm-test.sh" fail with exit code 1 on failure')
This commit is contained in:
parent
91f84249d5
commit
aff40f736c
1 changed files with 2 additions and 2 deletions
|
|
@ -302,8 +302,8 @@ if ! _is_true "$NMTST_USE_VALGRIND" 0; then
|
|||
export NM_TEST_UNDER_VALGRIND=0
|
||||
"${NMTST_DBUS_RUN_SESSION[@]}" "$TEST" "${TEST_ARGV[@]}"
|
||||
r=$?
|
||||
[ $r == 0 ] || die "exec \"$TEST\" failed with exit code $r"
|
||||
exit 0
|
||||
[ $r == 0 -o $r == 77 ] || die "exec \"$TEST\" failed with exit code $r"
|
||||
exit $r
|
||||
fi
|
||||
|
||||
if [[ -z "${NMTST_VALGRIND}" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue