fix: exit the tests correctly

This commit is contained in:
Martin Wimpress 2024-05-03 10:00:48 +01:00 committed by Martin Wimpress
parent dcbfce86d2
commit 945933d5f4
1 changed files with 2 additions and 1 deletions

View File

@ -486,7 +486,6 @@ function test_all() {
fi fi
fi fi
done done
exit 0
} }
function os_support() { function os_support() {
@ -3431,6 +3430,7 @@ case "${1}" in
elif [ -z "${2}" ]; then elif [ -z "${2}" ]; then
test_all "${1}" test_all "${1}"
fi fi
exit 0
;; ;;
'--check'|'-c') '--check'|'-c')
OPERATION="test" OPERATION="test"
@ -3442,6 +3442,7 @@ case "${1}" in
elif [ -z "${2}" ]; then elif [ -z "${2}" ]; then
test_all "${1}" test_all "${1}"
fi fi
exit 0
;; ;;
#TODO: Argument without dashes should be DEPRECATED! #TODO: Argument without dashes should be DEPRECATED!
'--list-csv'|'-lc'|'list'|'list_csv'|'lc') '--list-csv'|'-lc'|'list'|'list_csv'|'lc')