summaryrefslogtreecommitdiff
path: root/Test/C03traps.ztst
AgeCommit message (Expand)AuthorFilesLines
2024-06-2852977: ERR_EXIT/ERR_RETURN are respected by the final command in && / || listsPhilippe Altherr1-0/+27
2023-04-1751652: fix running of TRAPEXIT explicitly.Peter Stephenson1-0/+11
2022-12-0351076: fix ERR_EXIT when used with "eval" or "source"; documentary commentsPhilippe Altherr1-0/+41
2022-12-0351071: fix ERR_RETURN for functions in conditional statementsPhilippe Altherr1-0/+16
2022-12-0351001: fix for ERR_EXIT following shell function; update testsPhilippe Altherr1-0/+82
2022-12-0351001: fix for ERR_EXIT with pipeline negation ("!"); update testsPhilippe Altherr1-0/+15
2022-12-0351001: fix for ERR_EXIT with "always" blocks; update testsPhilippe Altherr1-7/+29
2022-12-0351001: Reverts 8839e969b, most of 1ba8714a, and d873ed60.Philippe Altherr1-5/+10
2022-11-0950928: fix tests for 50897, mention behavior change in NEWSBart Schaefer1-11/+6
2022-04-17unposted (see 50072): check exit status in exit-from-trap testBart Schaefer1-1/+1
2022-04-1450069: ChangeLog and test description for 50068Bart Schaefer1-1/+1
2022-04-1450068: 'exit' in trap causes calling function to returnBart Schaefer1-1/+1
2020-02-0245373: Fix ERR_EXIT bug in else branch of if.Peter Stephenson1-0/+9
2020-01-0145169/0002 (tweaked for trailing newlines): Add an expected-to-fail test for ...Daniel Shahaf1-0/+17
2018-10-10unposted: another couple of tests for previous commit.Peter Stephenson1-0/+6
2018-10-1043669: ensure explicit exit status is used over implicitPeter Stephenson1-0/+3
2018-10-0943660: extend 43653 when final exit is implicit.Peter Stephenson1-0/+4
2018-10-09unposted: addition to previous trap test suggested by MikaelPeter Stephenson1-0/+3
2018-10-0943653: explicit exit from EXIT trap overrides exit statusPeter Stephenson1-0/+3
2018-07-09users/23531: Error exit/return fixes.Peter Stephenson1-0/+17
2017-08-31Fix problem with ERR_RETURN.Peter Stephenson1-0/+34
2017-08-2941608 (plus tests): restore ERR_EXIT before function.Peter Stephenson1-0/+35
2017-04-2741012: Fix premature exit from nested function in EXIT trap.Peter Stephenson1-0/+21
2016-12-0540100: ERR_EXIT and ERR_RETURN test for anonymous functions.Peter Stephenson1-0/+11
2016-12-05Additional case for ERR_RETURN and ERR_EXIT.Peter Stephenson1-0/+17
2016-12-05Extra case for ERR_RETURN and ERR_EXIT.Peter Stephenson1-0/+70
2016-11-1039901: No EXIT trap on LHS of pipeline.Peter Stephenson1-0/+17
2016-11-0839870: ensure exit trap can always runPeter Stephenson1-0/+15
2016-10-0639578: Test more ERR_RETURN cases with "&&" and functionsPeter Stephenson1-0/+30
2016-10-0539571: Fix ERR_EXIT bug with && and function.Peter Stephenson1-9/+22
2016-10-0539568: "! <complex-command>" suppresses ERR_EXITPeter Stephenson1-0/+27
2016-10-0239540: "! command" should suppress ERR_EXIT and ERR_RETURNPeter Stephenson1-0/+37
2016-03-0738094: Fix POSIX EXIT traps defined in function.Peter Stephenson1-2/+20
2016-02-2538024: Improve POSIX and native EXIT traps compatibility.Peter Stephenson1-0/+17
2016-02-1737999: Sticky behaviour of EXIT traps.Peter Stephenson1-0/+20
2015-10-03unposted: back out 36707, add test case for 36766Barton E. Schaefer1-0/+14
2015-08-09unposted: add tests for outputting traps specified via aliasesMikael Magnusson1-0/+11
2015-07-0935751: Fix ERR_RETURN and ERR_EXIT in "else"Peter Stephenson1-0/+40
2012-12-1330876: fix obscure failures to propagate non-zero statusPeter Stephenson1-0/+11
2010-09-1228253: document -h argument to atribute commandsPeter Stephenson1-0/+17
2010-05-10c.f. 27950: strip bogus whitespace from testsPeter Stephenson1-4/+4
2010-05-0527947: some cases where we should execute EXIT trapsPeter Stephenson1-0/+20
2008-08-3125571: when parsing use line numbers for the start of a token, not the endPeter Stephenson1-88/+0
2008-08-3125570: line numbers of complex sublists were wrong, plus testPeter Stephenson1-0/+10
2008-08-2525532: problem skipping assignments etc. with setopt ERREXITPeter Stephenson1-0/+14
2008-08-0725415: Make DEBUG_BEFORE_CMD the default.Peter Stephenson1-0/+13
2008-08-0625400: Rockys test for second part of trapreturn bugPeter Stephenson1-0/+14
2008-08-0525392: test for 25367Peter Stephenson1-0/+38
2007-05-2923486: use {fd} syntax to get fd's for testsPeter Stephenson1-3/+3
2007-01-1223101: various combinations of ZERR with function returns were feature-riddenPeter Stephenson1-0/+63