summaryrefslogtreecommitdiff
path: root/Test/E01options.ztst
AgeCommit message (Collapse)AuthorFilesLines
2017-10-1341877: Separate out SH_FILE_EXPANSION loop from parameter substitution.Peter Stephenson1-0/+10
Parameter substitution can add nodes that need to be rescanned by it, but not by file expansion, so the two don't play well together.
2017-10-0841828, 41830: skip SHFILEEXPANSION for new nodes added by stringsubst() in ↵Barton E. Schaefer1-0/+12
prefork()
2017-08-2441590 modified as 41595: make ERR_RETURN more logical.Peter Stephenson1-0/+30
It now operates separately at each function depth. To keep ERR_EXIT global, make the noerrexit variable usd bit flags. Extend tests.
2017-08-08Revert "41499 (with one further tweak): POSIX_STRINGS behaviour."Peter Stephenson1-41/+0
This reverts commit 2eacbef91913fe967335812900d43cf2edfa54d9. Conflicts: ChangeLog
2017-08-0741499 (with one further tweak): POSIX_STRINGS behaviour.Peter Stephenson1-0/+41
Ignore a terminating delimiter when splitting as separators despite being called separators are terminators.
2017-07-2741464, 41466: With POSIX_BUILTINS, exec only executes sexternal commands.Peter Stephenson1-0/+14
Document the default behaviour and add a test.
2017-04-2641008: Handle expansions for precommand modifiersPeter Stephenson1-0/+14
2017-02-0140460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing ↵Daniel Shahaf1-0/+4
array
2017-01-2640423: WARN_NESTED_VARS, conversion the other wayPeter Stephenson1-1/+13
2017-01-2640422: More WARN_NESTED_VAR cases.Peter Stephenson1-0/+12
Converting type when using a calling scope was broken in the original patch.
2017-01-2540413: WARN_NESTED_VAR subscripted variable fix.Peter Stephenson1-0/+15
No warning needed on paramter that's created temporarily to help assignment.
2017-01-2340391: Add WARN_NESTED_VAR option and functions -W.Peter Stephenson1-1/+56
These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered.
2016-11-1739915: whence: Honor PATH_DIRS option for arguments that start with './' or ↵Daniel Shahaf1-0/+4
'../'. While here, add some docstrings.
2016-02-0837914: reparse associative array subscripts in "unset" so keys with "[" or ↵Barton E. Schaefer1-1/+1
"]" may be backslash-escaped Also fix erroneous test case this revealed.
2015-12-0437303: test WARN_CREATE_GLOBAL negative cases.Peter Stephenson1-0/+9
2015-10-30unposted (after 37018): Fix typo in error message.Daniel Shahaf1-1/+1
2015-10-2937018: Make WARNCREATEGLOBAL more consistent.Peter Stephenson1-3/+3
Wd don't need separate math handling any more, and can make it output the function name in all cases.
2015-09-2736651: WARN_CREATE_GLOBAL += math expressionsDaniel Shahaf1-0/+4
Without this, '() { (( x=42 )) }' and '() { for (( i=0; … )) }' wouldn't warn about $x and $i, respectively, being created global.
2015-09-1036460: Discard benign error when no one is reading from pipePeter Stephenson1-1/+1
2015-07-1635805: tests for 35799Barton E. Schaefer1-0/+14
2015-06-24various posts: Implement assignment parsing for typeset.Peter Stephenson1-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.
2015-06-0235369: better GLOB_ASSIGN testingPeter Stephenson1-9/+1
2015-04-1534887: Fix POSIX_BUILTINS with assignment.Peter Stephenson1-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.
2015-02-1634530: PRINT_EXIT_VALUE with anonymous functions.Peter Stephenson1-6/+6
Simpler fix, avoiding structural changes.
2015-02-1234514: Back out 34485, an alternate solution needs to be worked out.Barton E. Schaefer1-6/+6
(Tweaked to keep the unrelated hunk of the E01 test.)
2015-02-0934485: More rationalisation for anonymous functions.Peter Stephenson1-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().
2014-06-1332768 with further modifications: LOCAL_LOOPS option.Peter Stephenson1-1/+43
2013-12-0632091: WARN_CREATE_GLOBAL false positive.Daniel Shahaf1-7/+10
In cases like () { foo=bar =true; }
2013-10-06users:18023: Add PIPEFAIL optionPeter Stephenson1-0/+15
2011-12-0829955++: IGNORE_CLOSE_BRACES optionPeter Stephenson1-0/+15
2011-07-0129530: ${...?...} shouldn't cause an error with NO_EXEC optionPeter Stephenson1-0/+4
2011-01-1028617: NO_EXEC option was doing too much work inPeter Stephenson1-0/+9
parameter subscripting, parameter assignment, and globbing
2010-10-2228360: NO_UNSET option should check parameters with trailing optionsPeter Stephenson1-2/+25
2008-08-1125429: Rocky Bernstein: dont assume PS4 is set to the defaultPeter Stephenson1-2/+3
2007-06-1823562: add KSH_ZERO_SUBSCRIPT option and leave off by defaultPeter Stephenson1-1/+1
2007-05-2923486: use {fd} syntax to get fd's for testsPeter Stephenson1-1/+1
2007-05-23John Buddery: 23461: fix race setting up input multiosPeter Stephenson1-0/+10
2007-05-2323460: fix problem with ( stuff ) >multio1 >multio2Peter Stephenson1-0/+12
2006-11-0122934, modified, see 22937: add HIST_SUBST_PATTERN optionPeter Stephenson1-0/+14
make ${.../#%...} anchor at both ends
2006-09-23revert 22758 and add LC_NUMERIC and LC_MESSAGESAndrey Borzenkov1-4/+2
to test harness instead
2006-09-2222758: fix tests by setting locale to CAndrey Borzenkov1-2/+4
2005-08-0821576: test for 21575Peter Stephenson1-0/+20
2004-09-09Tests for EVAL_LINENO and for "command" used with POSIX_BUILTINS.Bart Schaefer1-1/+15
2003-10-0619167: fix NUL at start of BRACE_CCL range.Peter Stephenson1-0/+13
2002-03-1616820: change tests to match 16759.Bart Schaefer1-3/+0
2001-08-22Assorted minor test tweaks.Bart Schaefer1-0/+3
2001-07-26fix posixbuiltins test to allow for an external `print' command (15503)Oliver Kiddle1-2/+2
2001-07-0915334: use string "(eval)" as script name in debugging messages in eval'sPeter Stephenson1-26/+26
2001-07-0915329: test script changes to go with 15327 LINENO changePeter Stephenson1-26/+25
2001-07-0515261: remaining easy option testsPeter Stephenson1-1/+349