This makes test_expect_* return non-zero if the test fails, so the
caller can make decisions based on this, such as setting test
prerequisites.
test_failure=$(($test_failure + 1))
test_failure_message_ "FAIL" "$@"
test "$immediate" = "" || { GIT_EXIT_OK=t; exit 1; }
test_failure=$(($test_failure + 1))
test_failure_message_ "FAIL" "$@"
test "$immediate" = "" || { GIT_EXIT_OK=t; exit 1; }
}
test_failure_message_ () {
}
test_failure_message_ () {
test_subtest_known_broken_=
test_broken=$(($test_broken+1))
test_failure_message_ "BROKEN" "$@"
test_subtest_known_broken_=
test_broken=$(($test_broken+1))
test_failure_message_ "BROKEN" "$@"