summaryrefslogtreecommitdiffstats
path: root/t/chainlint/while-loop.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/while-loop.expect')
-rw-r--r--t/chainlint/while-loop.expect13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/chainlint/while-loop.expect b/t/chainlint/while-loop.expect
new file mode 100644
index 0000000..1f5eaea
--- /dev/null
+++ b/t/chainlint/while-loop.expect
@@ -0,0 +1,13 @@
+(
+ while true
+ do
+ echo foo ?!AMP?!
+ cat <<-\EOF ?!LOOP?!
+ bar
+ EOF
+ done ?!AMP?!
+ while true; do
+ echo foo &&
+ cat bar ?!LOOP?!
+ done
+)