1
0
Fork 0
git/t/chainlint/while-loop.expect
Daniel Baumann 54102a2c29
Adding upstream version 1:2.47.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-23 07:43:39 +02:00

14 lines
250 B
Text

2 (
3 while true
4 do
5 echo foo ?!LINT: missing '&&'?!
6 cat <<-\EOF ?!LINT: missing '|| exit 1'?!
7 bar
8 EOF
9 done ?!LINT: missing '&&'?!
10
11 while true; do
12 echo foo &&
13 cat bar ?!LINT: missing '|| exit 1'?!
14 done
15 )