about summary refs log tree commit diff
path: root/t/chainlint/nested-subshell.test
blob: 998b05a47d300570faf8ff16b584517677a21567 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(
	cd foo &&
	(
		echo a &&
		echo b
	) >file &&

	cd foo &&
	(
# LINT: nested multi-line subshell not presently checked for missing "&&"
		echo a
		echo b
	) >file
)