about summary refs log tree commit diff
path: root/Test/A07control.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-06-04 22:50:48 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-06-04 22:50:48 -0700
commit92f62fed0054cc8797cd2f1904c556b80d589cf7 (patch)
tree9371d098d6be31319e626561c4b931a040ace1e9 /Test/A07control.ztst
parent69378db3c53cea12d8c5f20380de5017e4e72611 (diff)
downloadzsh-92f62fed0054cc8797cd2f1904c556b80d589cf7.tar.gz
zsh-92f62fed0054cc8797cd2f1904c556b80d589cf7.tar.xz
zsh-92f62fed0054cc8797cd2f1904c556b80d589cf7.zip
32711: run "continue" test in a new shell
Diffstat (limited to 'Test/A07control.ztst')
-rw-r--r--Test/A07control.ztst6
1 files changed, 3 insertions, 3 deletions
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