diff options
Diffstat (limited to 't/chainlint/for-loop.expect')
-rw-r--r-- | t/chainlint/for-loop.expect | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/t/chainlint/for-loop.expect b/t/chainlint/for-loop.expect new file mode 100644 index 0000000000..5029eacce3 --- /dev/null +++ b/t/chainlint/for-loop.expect @@ -0,0 +1,14 @@ +2 ( +3 for i in a b c +4 do +5 echo $i ?!LINT: missing '&&'?! +6 cat <<-\EOF ?!LINT: missing '|| exit 1'?! +7 bar +8 EOF +9 done ?!LINT: missing '&&'?! +10 +11 for i in a b c; do +12 echo $i && +13 cat $i ?!LINT: missing '|| exit 1'?! +14 done +15 ) |