From 92f62fed0054cc8797cd2f1904c556b80d589cf7 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Wed, 4 Jun 2014 22:50:48 -0700 Subject: [PATCH] 32711: run "continue" test in a new shell --- ChangeLog | 4 ++++ Test/A07control.ztst | 6 +++--- 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 + * 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