aboutsummaryrefslogtreecommitdiffstats
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.expect14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/chainlint/while-loop.expect b/t/chainlint/while-loop.expect
new file mode 100644
index 0000000000..06c1567f48
--- /dev/null
+++ b/t/chainlint/while-loop.expect
@@ -0,0 +1,14 @@
+(
+ while true
+ do
+ echo foo ?!AMP?!
+ cat <<-\EOF ?!LOOP?!
+ bar
+ EOF
+ done ?!AMP?!
+
+ while true; do
+ echo foo &&
+ cat bar ?!LOOP?!
+ done
+)