about summary refs log tree commit diff
path: root/Test/E01options.ztst
Commit message (Collapse)AuthorAgeFilesLines
* 41590 modified as 41595: make ERR_RETURN more logical.Peter Stephenson2017-08-241-0/+30
| | | | | | | | It now operates separately at each function depth. To keep ERR_EXIT global, make the noerrexit variable usd bit flags. Extend tests.
* Revert "41499 (with one further tweak): POSIX_STRINGS behaviour."Peter Stephenson2017-08-081-41/+0
| | | | | | | This reverts commit 2eacbef91913fe967335812900d43cf2edfa54d9. Conflicts: ChangeLog
* 41499 (with one further tweak): POSIX_STRINGS behaviour.Peter Stephenson2017-08-071-0/+41
| | | | | Ignore a terminating delimiter when splitting as separators despite being called separators are terminators.
* 41464, 41466: With POSIX_BUILTINS, exec only executes sexternal commands.Peter Stephenson2017-07-271-0/+14
| | | | Document the default behaviour and add a test.
* 41008: Handle expansions for precommand modifiersPeter Stephenson2017-04-261-0/+14
|
* 40460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing ↵Daniel Shahaf2017-02-011-0/+4
| | | | array
* 40423: WARN_NESTED_VARS, conversion the other wayPeter Stephenson2017-01-261-1/+13
|
* 40422: More WARN_NESTED_VAR cases.Peter Stephenson2017-01-261-0/+12
| | | | | Converting type when using a calling scope was broken in the original patch.
* 40413: WARN_NESTED_VAR subscripted variable fix.Peter Stephenson2017-01-251-0/+15
| | | | | No warning needed on paramter that's created temporarily to help assignment.
* 40391: Add WARN_NESTED_VAR option and functions -W.Peter Stephenson2017-01-231-1/+56
| | | | | These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered.
* 39915: whence: Honor PATH_DIRS option for arguments that start with './' or ↵Daniel Shahaf2016-11-171-0/+4
| | | | | | '../'. While here, add some docstrings.
* 37914: reparse associative array subscripts in "unset" so keys with "[" or ↵Barton E. Schaefer2016-02-081-1/+1
| | | | | | "]" may be backslash-escaped Also fix erroneous test case this revealed.
* 37303: test WARN_CREATE_GLOBAL negative cases.Peter Stephenson2015-12-041-0/+9
|
* unposted (after 37018): Fix typo in error message.Daniel Shahaf2015-10-301-1/+1
|
* 37018: Make WARNCREATEGLOBAL more consistent.Peter Stephenson2015-10-291-3/+3
| | | | | Wd don't need separate math handling any more, and can make it output the function name in all cases.
* 36651: WARN_CREATE_GLOBAL += math expressionsDaniel Shahaf2015-09-271-0/+4
| | | | | Without this, '() { (( x=42 )) }' and '() { for (( i=0; … )) }' wouldn't warn about $x and $i, respectively, being created global.
* 36460: Discard benign error when no one is reading from pipePeter Stephenson2015-09-101-1/+1
|
* 35805: tests for 35799Barton E. Schaefer2015-07-161-0/+14
|
* various posts: Implement assignment parsing for typeset.Peter Stephenson2015-06-241-0/+11
| | | | | | | | | | | | Typeset assignments now work like raw assignments except for no "+=" and no GLOB_ASSIGN. Documented in typeset builtin doc and mentioned in release notes. Tests to ensure basic sanity. Enabled by default, can be turned off by "disable -r" with typeset family of commands.
* 35369: better GLOB_ASSIGN testingPeter Stephenson2015-06-021-9/+1
|
* 34887: Fix POSIX_BUILTINS with assignment.Peter Stephenson2015-04-151-0/+13
| | | | | | | | | | | In the form var=val command special-builtin-or-func the var is restored after execution, unlike the case where "command" is absent. Clear up case in code that handles this. Add tests.
* 34530: PRINT_EXIT_VALUE with anonymous functions.Peter Stephenson2015-02-161-6/+6
| | | | Simpler fix, avoiding structural changes.
* 34514: Back out 34485, an alternate solution needs to be worked out.Barton E. Schaefer2015-02-121-6/+6
| | | | (Tweaked to keep the unrelated hunk of the E01 test.)
* 34485: More rationalisation for anonymous functions.Peter Stephenson2015-02-091-8/+18
| | | | | | | | Don't attempt to treat as "simple" case as there are too many hidden problems. Pull out some post-execution functions to a common case in execcmd().
* 32768 with further modifications: LOCAL_LOOPS option.Peter Stephenson2014-06-131-1/+43
|
* 32091: WARN_CREATE_GLOBAL false positive.Daniel Shahaf2013-12-061-7/+10
| | | | In cases like () { foo=bar =true; }
* users:18023: Add PIPEFAIL optionPeter Stephenson2013-10-061-0/+15
|
* 29955++: IGNORE_CLOSE_BRACES optionPeter Stephenson2011-12-081-0/+15
|
* 29530: ${...?...} shouldn't cause an error with NO_EXEC optionPeter Stephenson2011-07-011-0/+4
|
* 28617: NO_EXEC option was doing too much work inPeter Stephenson2011-01-101-0/+9
| | | | parameter subscripting, parameter assignment, and globbing
* 28360: NO_UNSET option should check parameters with trailing optionsPeter Stephenson2010-10-221-2/+25
|
* 25429: Rocky Bernstein: dont assume PS4 is set to the defaultPeter Stephenson2008-08-111-2/+3
|
* 23562: add KSH_ZERO_SUBSCRIPT option and leave off by defaultPeter Stephenson2007-06-181-1/+1
|
* 23486: use {fd} syntax to get fd's for testsPeter Stephenson2007-05-291-1/+1
|
* John Buddery: 23461: fix race setting up input multiosPeter Stephenson2007-05-231-0/+10
|
* 23460: fix problem with ( stuff ) >multio1 >multio2Peter Stephenson2007-05-231-0/+12
|
* 22934, modified, see 22937: add HIST_SUBST_PATTERN optionPeter Stephenson2006-11-011-0/+14
| | | | make ${.../#%...} anchor at both ends
* revert 22758 and add LC_NUMERIC and LC_MESSAGESAndrey Borzenkov2006-09-231-4/+2
| | | | to test harness instead
* 22758: fix tests by setting locale to CAndrey Borzenkov2006-09-221-2/+4
|
* 21576: test for 21575Peter Stephenson2005-08-081-0/+20
|
* Tests for EVAL_LINENO and for "command" used with POSIX_BUILTINS.Bart Schaefer2004-09-091-1/+15
|
* 19167: fix NUL at start of BRACE_CCL range.Peter Stephenson2003-10-061-0/+13
|
* 16820: change tests to match 16759.Bart Schaefer2002-03-161-3/+0
|
* Assorted minor test tweaks.Bart Schaefer2001-08-221-0/+3
|
* fix posixbuiltins test to allow for an external `print' command (15503)Oliver Kiddle2001-07-261-2/+2
|
* 15334: use string "(eval)" as script name in debugging messages in eval'sPeter Stephenson2001-07-091-26/+26
|
* 15329: test script changes to go with 15327 LINENO changePeter Stephenson2001-07-091-26/+25
|
* 15261: remaining easy option testsPeter Stephenson2001-07-051-1/+349
|
* Added KSH_TYPESET option.Peter Stephenson2001-06-121-4/+34
|
* tweaked commentsPeter Stephenson2001-05-191-2/+2
|