summaryrefslogtreecommitdiff
path: root/t/chainlint/chain-break-false.test
blob: 924c9627c0ae9554f4a0cf0a723e9ce6bcf41f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
test_expect_success 'chain-break-false' '
# LINT: broken &&-chain okay if explicit "false" signals failure
if condition not satisfied
then
	echo it did not work...
	echo failed!
	false
else
	echo it went okay
	congratulate user
fi
'