summaryrefslogtreecommitdiff
path: root/t/chainlint/semicolon.expect
blob: 2b499fbe70c56c5c0cc1550ab33e47d6033ad524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2 (
3 	cat foo ; ?!LINT: missing '&&'?! echo bar ?!LINT: missing '&&'?!
4 	cat foo ; ?!LINT: missing '&&'?! echo bar
5 ) &&
6 (
7 	cat foo ; ?!LINT: missing '&&'?! echo bar &&
8 	cat foo ; ?!LINT: missing '&&'?! echo bar
9 ) &&
10 (
11 	echo "foo; bar" &&
12 	cat foo; ?!LINT: missing '&&'?! echo bar
13 ) &&
14 (
15 	foo;
16 ) &&
17 (cd foo &&
18 	for i in a b c; do
19 		echo; ?!LINT: missing '|| exit 1'?!
20 	done)