mirror of
https://github.com/git/git
synced 2024-10-31 01:43:41 +00:00
20 lines
267 B
Text
20 lines
267 B
Text
|
# LINT: blank line before "esac"
|
||
|
test_done () {
|
||
|
case "$test_failure" in
|
||
|
0)
|
||
|
test_at_end_hook_
|
||
|
|
||
|
exit 0 ;;
|
||
|
|
||
|
*)
|
||
|
if test $test_external_has_tap -eq 0
|
||
|
then
|
||
|
say_color error "# failed $test_failure among $msg"
|
||
|
say "1..$test_count"
|
||
|
fi
|
||
|
|
||
|
exit 1 ;;
|
||
|
|
||
|
esac
|
||
|
}
|