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