Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 47849: do not skip tests requiring zpty on Cygwin | Jun-ichi Takimoto | 2021-01-20 | 1 | -3/+1 |
| | |||||
* | 46204: Fix new test case for the theoretical case of having more than 100 ↵ | Daniel Shahaf | 2020-07-12 | 1 | -1/+1 |
| | | | | files in the root directory. | ||||
* | 46215: make the test for RM_STAR_SILENT work on wider systems | Jun-ichi Takimoto | 2020-07-09 | 1 | -6/+9 |
| | |||||
* | 46175/0003: Fix the RM_STAR_SILENT bug from the parent commit. | Daniel Shahaf | 2020-07-05 | 1 | -1/+1 |
| | |||||
* | 46175/0002: Add a regression test for 46169: the RM_STAR_SILENT logic ↵ | Daniel Shahaf | 2020-07-05 | 1 | -2/+4 |
| | | | | | | processes the current directory rather than the root directory. The bug will be fixed in the next commit. | ||||
* | 46175/0001: Add a unit test for the RM_STAR_SILENT option. | Daniel Shahaf | 2020-07-05 | 1 | -1/+26 |
| | |||||
* | Add SHORT_REPEAT option | Mikael Magnusson | 2020-04-02 | 1 | -5/+14 |
| | |||||
* | Add unsetopt/PRIVILEGED tests | dana | 2020-02-14 | 1 | -1/+9 |
| | |||||
* | Improve PRIVILEGED fixes | Daniel Shahaf | 2020-02-14 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | - Fix retval handling in bin_setopt() - Don't skip_setuid / skip_setgid. It's not our place to optimize away noops (that might not even _be_ noops; they might change the saved uid…). - Remove HAVE_* guard checks around functions that are used unguarded elsewhere. - Use bsd-setres_id.c from OpenSSH to provide setresuid() / setresgid() everywhere, and thus simplify the ifdef soup. Fix some preëxisting bugs in the macro definitions of setuid() (do we still need that one?). - Fix zwarning() format codes for variadic arguments type safety - Restored a comment from HEAD - Fix failure modes around initgroups() - Compared privilege restoration code with OpenSSH's permanently_drop_uid() and updated as needed - Add E01 PRIVILEGED sanity checks | ||||
* | 45004: Fix typos in comments | Martijn Dekker | 2019-12-11 | 1 | -1/+1 |
| | |||||
* | 41877: Separate out SH_FILE_EXPANSION loop from parameter substitution. | Peter Stephenson | 2017-10-13 | 1 | -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. | ||||
* | 41828, 41830: skip SHFILEEXPANSION for new nodes added by stringsubst() in ↵ | Barton E. Schaefer | 2017-10-08 | 1 | -0/+12 |
| | | | | prefork() | ||||
* | 41590 modified as 41595: make ERR_RETURN more logical. | Peter Stephenson | 2017-08-24 | 1 | -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 Stephenson | 2017-08-08 | 1 | -41/+0 |
| | | | | | | | This reverts commit 2eacbef91913fe967335812900d43cf2edfa54d9. Conflicts: ChangeLog | ||||
* | 41499 (with one further tweak): POSIX_STRINGS behaviour. | Peter Stephenson | 2017-08-07 | 1 | -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 Stephenson | 2017-07-27 | 1 | -0/+14 |
| | | | | Document the default behaviour and add a test. | ||||
* | 41008: Handle expansions for precommand modifiers | Peter Stephenson | 2017-04-26 | 1 | -0/+14 |
| | |||||
* | 40460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing ↵ | Daniel Shahaf | 2017-02-01 | 1 | -0/+4 |
| | | | | array | ||||
* | 40423: WARN_NESTED_VARS, conversion the other way | Peter Stephenson | 2017-01-26 | 1 | -1/+13 |
| | |||||
* | 40422: More WARN_NESTED_VAR cases. | Peter Stephenson | 2017-01-26 | 1 | -0/+12 |
| | | | | | Converting type when using a calling scope was broken in the original patch. | ||||
* | 40413: WARN_NESTED_VAR subscripted variable fix. | Peter Stephenson | 2017-01-25 | 1 | -0/+15 |
| | | | | | No warning needed on paramter that's created temporarily to help assignment. | ||||
* | 40391: Add WARN_NESTED_VAR option and functions -W. | Peter Stephenson | 2017-01-23 | 1 | -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 Shahaf | 2016-11-17 | 1 | -0/+4 |
| | | | | | | '../'. While here, add some docstrings. | ||||
* | 37914: reparse associative array subscripts in "unset" so keys with "[" or ↵ | Barton E. Schaefer | 2016-02-08 | 1 | -1/+1 |
| | | | | | | "]" may be backslash-escaped Also fix erroneous test case this revealed. | ||||
* | 37303: test WARN_CREATE_GLOBAL negative cases. | Peter Stephenson | 2015-12-04 | 1 | -0/+9 |
| | |||||
* | unposted (after 37018): Fix typo in error message. | Daniel Shahaf | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | 37018: Make WARNCREATEGLOBAL more consistent. | Peter Stephenson | 2015-10-29 | 1 | -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 expressions | Daniel Shahaf | 2015-09-27 | 1 | -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 pipe | Peter Stephenson | 2015-09-10 | 1 | -1/+1 |
| | |||||
* | 35805: tests for 35799 | Barton E. Schaefer | 2015-07-16 | 1 | -0/+14 |
| | |||||
* | various posts: Implement assignment parsing for typeset. | Peter Stephenson | 2015-06-24 | 1 | -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 testing | Peter Stephenson | 2015-06-02 | 1 | -9/+1 |
| | |||||
* | 34887: Fix POSIX_BUILTINS with assignment. | Peter Stephenson | 2015-04-15 | 1 | -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 Stephenson | 2015-02-16 | 1 | -6/+6 |
| | | | | Simpler fix, avoiding structural changes. | ||||
* | 34514: Back out 34485, an alternate solution needs to be worked out. | Barton E. Schaefer | 2015-02-12 | 1 | -6/+6 |
| | | | | (Tweaked to keep the unrelated hunk of the E01 test.) | ||||
* | 34485: More rationalisation for anonymous functions. | Peter Stephenson | 2015-02-09 | 1 | -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 Stephenson | 2014-06-13 | 1 | -1/+43 |
| | |||||
* | 32091: WARN_CREATE_GLOBAL false positive. | Daniel Shahaf | 2013-12-06 | 1 | -7/+10 |
| | | | | In cases like () { foo=bar =true; } | ||||
* | users:18023: Add PIPEFAIL option | Peter Stephenson | 2013-10-06 | 1 | -0/+15 |
| | |||||
* | 29955++: IGNORE_CLOSE_BRACES option | Peter Stephenson | 2011-12-08 | 1 | -0/+15 |
| | |||||
* | 29530: ${...?...} shouldn't cause an error with NO_EXEC option | Peter Stephenson | 2011-07-01 | 1 | -0/+4 |
| | |||||
* | 28617: NO_EXEC option was doing too much work in | Peter Stephenson | 2011-01-10 | 1 | -0/+9 |
| | | | | parameter subscripting, parameter assignment, and globbing | ||||
* | 28360: NO_UNSET option should check parameters with trailing options | Peter Stephenson | 2010-10-22 | 1 | -2/+25 |
| | |||||
* | 25429: Rocky Bernstein: dont assume PS4 is set to the default | Peter Stephenson | 2008-08-11 | 1 | -2/+3 |
| | |||||
* | 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default | Peter Stephenson | 2007-06-18 | 1 | -1/+1 |
| | |||||
* | 23486: use {fd} syntax to get fd's for tests | Peter Stephenson | 2007-05-29 | 1 | -1/+1 |
| | |||||
* | John Buddery: 23461: fix race setting up input multios | Peter Stephenson | 2007-05-23 | 1 | -0/+10 |
| | |||||
* | 23460: fix problem with ( stuff ) >multio1 >multio2 | Peter Stephenson | 2007-05-23 | 1 | -0/+12 |
| | |||||
* | 22934, modified, see 22937: add HIST_SUBST_PATTERN option | Peter Stephenson | 2006-11-01 | 1 | -0/+14 |
| | | | | make ${.../#%...} anchor at both ends | ||||
* | revert 22758 and add LC_NUMERIC and LC_MESSAGES | Andrey Borzenkov | 2006-09-23 | 1 | -4/+2 |
| | | | | to test harness instead |