about summary refs log tree commit diff
path: root/Test/A04redirect.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-11-15 21:08:15 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-11-15 21:08:15 +0000
commit7c56d771840a9f335b2e21290c8cbf714264bc66 (patch)
tree98907f1a578f3f13446d1ba91239088172807f01 /Test/A04redirect.ztst
parent1446625072033fe1c53af7324a9245ef9cdcfad2 (diff)
downloadzsh-7c56d771840a9f335b2e21290c8cbf714264bc66.tar.gz
zsh-7c56d771840a9f335b2e21290c8cbf714264bc66.tar.xz
zsh-7c56d771840a9f335b2e21290c8cbf714264bc66.zip
30789: Add CONTINUE_ON_ERROR for old behaviour.
New behaviour is for scripts to exit on error instead of returning
to top level and executing the next command.
Diffstat (limited to 'Test/A04redirect.ztst')
-rw-r--r--Test/A04redirect.ztst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Test/A04redirect.ztst b/Test/A04redirect.ztst
index d3c0a4a99..b8086e724 100644
--- a/Test/A04redirect.ztst
+++ b/Test/A04redirect.ztst
@@ -419,26 +419,26 @@
 >output
 ?zsh:.:2: no such file or directory: /nonexistent/nonexistent
 
-  $ZTST_testdir/../Src/zsh -f <<<'
+  $ZTST_testdir/../Src/zsh -f -o CONTINUE_ON_ERROR <<<'
   readonly foo
   foo=bar set output
   echo output'
-0:failed assignment on posix special, NO_POSIX_BUILTINS
+0:failed assignment on posix special, CONTINUE_ON_ERROR
 >output
 ?zsh: read-only variable: foo
 
-  $ZTST_testdir/../Src/zsh -f -o POSIX_BUILTINS <<<'
+  $ZTST_testdir/../Src/zsh -f <<<'
   readonly foo
   foo=bar set output
   echo output'
-1:failed assignment on posix special, POSIX_BUILTINS
+1:failed assignment on posix special, NO_CONTINUE_ON_ERROR
 ?zsh: read-only variable: foo
 
-  $ZTST_testdir/../Src/zsh -f -o POSIX_BUILTINS <<<'
+  $ZTST_testdir/../Src/zsh -f -o CONTINUE_ON_ERROR <<<'
   readonly foo
   foo=bar echo output
   echo output'
-0:failed assignment on non-posix-special, POSIX_BUILTINS
+0:failed assignment on non-posix-special, CONTINUE_ON_ERROR
 >output
 ?zsh: read-only variable: foo