diff options
-rwxr-xr-x | test/test-lib.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh index b1b0db89..f8df6a5f 100755 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -563,6 +563,7 @@ test_failure_ () { test_failure=$(($test_failure + 1)) test_failure_message_ "FAIL" "$@" test "$immediate" = "" || { GIT_EXIT_OK=t; exit 1; } + return 1 } test_failure_message_ () { @@ -584,6 +585,7 @@ test_known_broken_failure_ () { test_subtest_known_broken_= test_broken=$(($test_broken+1)) test_failure_message_ "BROKEN" "$@" + return 1 } test_debug () { |