1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

32711: run "continue" test in a new shell

This commit is contained in:
Barton E. Schaefer 2014-06-04 22:50:48 -07:00
parent 69378db3c5
commit 92f62fed00
2 changed files with 7 additions and 3 deletions

View file

@ -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

View file

@ -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