diff --git a/tests/compat.sh b/tests/compat.sh index ff621fc75e..68c10c3cce 100755 --- a/tests/compat.sh +++ b/tests/compat.sh @@ -174,7 +174,7 @@ get_options() { # if you have to modify option, --list-test-case --list-test-case) list_test_case - exit 0 + exit $? ;; -h|--help) print_usage