summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/A01grammar.ztst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index 339ce7494..1ed3cb6b7 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -640,6 +640,16 @@
>1
>0
+ echo 'echo dot
+ until return 42; do
+ :
+ done' >until_dot
+ . ./until_dot
+ echo After dot
+0:return in positive until test in dot file does not cause excess breaks
+>dot
+>After dot
+
echo 'echo $?' >dot_status
false
. ./dot_status