summaryrefslogtreecommitdiffstats
path: root/t/chainlint/blank-line-before-esac.test
blob: cecccad19f5a9b833c3c0eba6168332c620f5983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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
}