summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Test/A07control.ztst6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bbbec84a4..adc98a6a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2014-06-04 Barton E. Schaefer <schaefer@zsh.org>
+ * 32711: Test/A07control.ztst: run "continue" test in a new
+ shell, lest it inadvertently continue the loop that reads the
+ test chunks from this file
+
* Daniel Shahaf: 32708: Doc/Zsh/expn.yo, Src/glob.c,
Test/D02glob.ztst: glob qualifier (Y) implies (oN), plus
incidental patch to avoid adding a meaningless bitvalue to
diff --git a/Test/A07control.ztst b/Test/A07control.ztst
index b9b89b588..397a821f1 100644
--- a/Test/A07control.ztst
+++ b/Test/A07control.ztst
@@ -23,12 +23,12 @@
>start 255
>255
- fn() {
+ $ZTST_testdir/../Src/zsh -fc 'fn() {
continue
}
- fn
+ fn'
1:continue outside loop
-?fn:continue:1 not in while, until, select, or repeat loop
+?fn:continue:1: not in while, until, select, or repeat loop
for outer in 0 1 2 3; do
print outer $outer