diff options
author | Philippe Altherr <philippe.altherr@gmail.com> | 2022-12-03 20:31:42 -0800 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2022-12-03 20:31:42 -0800 |
commit | 23dc19f005b6a9ac0740b46155f14dbcfa697421 (patch) | |
tree | a56440ef1175b92685b07162a45c8f5d76228bb8 /Test/C03traps.ztst | |
parent | 41b402d36d0aeac594cf424a9e46b5edb20c815d (diff) | |
download | zsh-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.ztst | 15 |
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 |