summary refs log tree commit diff
path: root/Test/C03traps.ztst
Commit message (Collapse)AuthorAgeFilesLines
* 39901: No EXIT trap on LHS of pipeline.Peter Stephenson2016-11-101-0/+17
| | | | | There is a special case if the LHS is a shell construct. Add unit tests for both cases.
* 39870: ensure exit trap can always runPeter Stephenson2016-11-081-0/+15
|
* 39578: Test more ERR_RETURN cases with "&&" and functionsPeter Stephenson2016-10-061-0/+30
|
* 39571: Fix ERR_EXIT bug with && and function.Peter Stephenson2016-10-051-9/+22
| | | | | "foo && bar" inside a function could cause the code outside the function not to perform ERR_EXIT or ERR_RETURN when needed.
* 39568: "! <complex-command>" suppresses ERR_EXITPeter Stephenson2016-10-051-0/+27
|
* 39540: "! command" should suppress ERR_EXIT and ERR_RETURNPeter Stephenson2016-10-021-0/+37
|
* 38094: Fix POSIX EXIT traps defined in function.Peter Stephenson2016-03-071-2/+20
| | | | | These aren't local, so set the local level to 0; else they can get overridden incorrectly.
* 38024: Improve POSIX and native EXIT traps compatibility.Peter Stephenson2016-02-251-0/+17
| | | | | | | Allow a nested function trap to leave save and restore a POSIX trap. Still fails if the POSIX trap was defined in a function.
* 37999: Sticky behaviour of EXIT traps.Peter Stephenson2016-02-171-0/+20
| | | | | | | | They now have POSIX or non-POSIX behaviour based on the setting of POSIX_TRAPS where the trap was defined, rather than where the trap would (or would not) be executed. Tweaks possible.
* unposted: back out 36707, add test case for 36766Barton E. Schaefer2015-10-031-0/+14
|
* unposted: add tests for outputting traps specified via aliasesMikael Magnusson2015-08-091-0/+11
|
* 35751: Fix ERR_RETURN and ERR_EXIT in "else"Peter Stephenson2015-07-091-0/+40
|
* 30876: fix obscure failures to propagate non-zero statusPeter Stephenson2012-12-131-0/+11
| | | | from optimised simple commands within lists
* 28253: document -h argument to atribute commandsPeter Stephenson2010-09-121-0/+17
|
* c.f. 27950: strip bogus whitespace from testsPeter Stephenson2010-05-101-4/+4
|
* 27947: some cases where we should execute EXIT trapsPeter Stephenson2010-05-051-0/+20
|
* 25571: when parsing use line numbers for the start of a token, not the endPeter Stephenson2008-08-311-88/+0
| | | | add test and move debug trap tests to new file
* 25570: line numbers of complex sublists were wrong, plus testPeter Stephenson2008-08-311-0/+10
| | | | make lineno zlong in another place
* 25532: problem skipping assignments etc. with setopt ERREXITPeter Stephenson2008-08-251-0/+14
|
* 25415: Make DEBUG_BEFORE_CMD the default.Peter Stephenson2008-08-071-0/+13
| | | | | Reuse ERR_EXIT in DEBUG traps. Clean up trapreturn code.
* 25400: Rockys test for second part of trapreturn bugPeter Stephenson2008-08-061-0/+14
|
* 25392: test for 25367Peter Stephenson2008-08-051-0/+38
|
* 23486: use {fd} syntax to get fd's for testsPeter Stephenson2007-05-291-3/+3
|
* 23101: various combinations of ZERR with function returns were feature-riddenPeter Stephenson2007-01-121-0/+63
|
* 22277: missed bitPeter Stephenson2006-03-031-0/+34
|
* 21580: Thorsten's patch to make sure that no pre-existing trapsWayne Davison2005-08-091-1/+4
| | | | interfere with the tests.
* 21215: clean up after autoloaded trap testBart Schaefer2005-05-011-2/+6
|
* 21136: don't leave TRAPEXIT lying around in Test directoryPeter Stephenson2005-04-131-2/+2
|
* fix autoloaded trap bug; rejig use of trapfuncsPeter Stephenson2005-02-061-2/+32
| | | | (now traplists); improve trap tests
* 20198: fix TRAPEXIT.Peter Stephenson2004-07-261-0/+7
|
* 19575: Fix problem with trap on EXIT overriding statusPeter Stephenson2004-03-101-0/+16
|
* test EXIT trap fixPeter Stephenson2001-10-011-0/+12
|
* moved from ./Test/08traps.ztstSven Wischnowsky2001-04-021-0/+186