about summary refs log tree commit diff
path: root/Test/C03traps.ztst
diff options
context:
space:
mode:
authorPhilippe Altherr <philippe.altherr@gmail.com>2022-12-03 20:31:42 -0800
committerBart Schaefer <schaefer@zsh.org>2022-12-03 20:31:42 -0800
commit23dc19f005b6a9ac0740b46155f14dbcfa697421 (patch)
treea56440ef1175b92685b07162a45c8f5d76228bb8 /Test/C03traps.ztst
parent41b402d36d0aeac594cf424a9e46b5edb20c815d (diff)
downloadzsh-23dc19f005b6a9ac0740b46155f14dbcfa697421.tar.gz
zsh-23dc19f005b6a9ac0740b46155f14dbcfa697421.tar.xz
zsh-23dc19f005b6a9ac0740b46155f14dbcfa697421.zip
51001: Reverts 8839e969b, most of 1ba8714a, and d873ed60.
Also correct ChangeLog
Diffstat (limited to 'Test/C03traps.ztst')
-rw-r--r--Test/C03traps.ztst15
1 files changed, 10 insertions, 5 deletions
diff --git a/Test/C03traps.ztst b/Test/C03traps.ztst
index 5cc45e2de..a7a040d70 100644
--- a/Test/C03traps.ztst
+++ b/Test/C03traps.ztst
@@ -726,7 +726,8 @@ F:Must be tested with a top-level script rather than source or function
   done
   print OK
   )
-1:ERR_EXIT triggered by status 1 at end of for
+0:ERR_EXIT not triggered by status 1 at end of for
+>OK
 
   (setopt err_exit
   integer x=0
@@ -735,7 +736,8 @@ F:Must be tested with a top-level script rather than source or function
   done
   print OK
   )
-1:ERR_EXIT triggered by status 1 at end of while
+0:ERR_EXIT not triggered by status 1 at end of while
+>OK
 
   (setopt err_exit
   repeat 1; do
@@ -743,7 +745,8 @@ F:Must be tested with a top-level script rather than source or function
   done
   print OK
   )
-1:ERR_EXIT triggered by status 1 at end of repeat
+0:ERR_EXIT not triggered by status 1 at end of repeat
+>OK
 
   (setopt err_exit
   if true; then
@@ -751,7 +754,8 @@ F:Must be tested with a top-level script rather than source or function
   fi
   print OK
   )
-1:ERR_EXIT triggered by status 1 at end of if
+0:ERR_EXIT not triggered by status 1 at end of if
+>OK
 
   (setopt err_exit
   {
@@ -759,7 +763,8 @@ F:Must be tested with a top-level script rather than source or function
   }
   print OK
   )
-1:ERR_EXIT triggered by status 1 at end of { }
+0:ERR_EXIT not triggered by status 1 at end of { }
+>OK
 
   unsetopt err_exit err_return
   (setopt err_exit