summaryrefslogtreecommitdiff
path: root/Test
AgeCommit message (Collapse)AuthorFilesLines
2017-02-2540626: Make $options re-settable.Daniel Shahaf1-0/+3
Follow-up to 40508. Reported-by: James McGlashan
2017-02-20use "diff -a" in case special characters were written to the test outputBarton E. Schaefer1-1/+1
2017-02-2040565 (tweaked): test cases for assigning array to scalar with various ↵Barton E. Schaefer1-0/+80
combinations of SHWORDSPLIT and IFS
2017-02-0840508: Make $functions re-settable.Daniel Shahaf1-0/+6
2017-02-0140460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing ↵Daniel Shahaf1-0/+4
array
2017-02-0140470: make the test work also with ASCII collationJun-ichi Takimoto1-16/+14
a few OSs (macOS and some versions of BSDs) use ASCII collation even if UTF-8 locale is in use
2017-01-3040465: update methods to output $PWD in tests.Peter Stephenson2-15/+26
Use method from B01cd.tst which resolves symbolic links and matches against parameter in output.
2017-01-2840440: Add $functions_source hash to zsh/parameter.Peter Stephenson2-9/+22
This allows you to find out where a function was loaded from.
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-24posted: Make D07 recognize more spellings of pl_PL.UTF-8Mikael Magnusson1-2/+2
FreeBSD and probably others use this spelling in locale -a output, while glibc uses the utf8 spelling.
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.
2017-01-1843080: a few more tests for autoload with absolute pathPeter Stephenson1-0/+25
2017-01-1240342: Add directory name cache for autoload file paths.Peter Stephenson1-0/+39
This renders "autoload /blah/blah/*" as efficient as use of fpath.
2017-01-1240335: More care with autoload function path.Peter Stephenson1-0/+10
If doing "autoload -X", the path present might actually be location of file containing the function with the autoload -X. Add an explicit flag to say it's a directory for autoload.
2017-01-1140321: _arguments option groupsOliver Kiddle1-0/+77
2017-01-11Add features associated with autoloading a function using an absolutePeter Stephenson1-0/+89
path. -d defaults to normal fpath -r remembers the path without actually loading. May be combined with -d. -R does the same but it's an error if not found -X can now take a directory path: this is used to output not yet loaded functions that have an associated path.
2017-01-1040306 with doc tweaks: Change behaviour expanding alias in () function ↵Peter Stephenson1-0/+22
definition. Now an error unless the () is part of the same error as the name. Add ALIAS_FUNC_DEF option to allow it again.
2017-01-0540269: handle option exclusion within current word for clumped optionsOliver Kiddle1-6/+19
This replaces the change made in 13999 with an alternative approach.
2017-01-0440227: handle _arguments sets and rest arguments starting with a dashOliver Kiddle1-9/+7
This is a new approach to the problem first covered by 39611: checking to see if an option-like argument belongs to one of the other sets.
2017-01-0440226: tidy up some of the _arguments set codeOliver Kiddle1-2/+57
Remove old code for applying explicit exclusions between sets which fixes some odd behaviour. Some struct members were unused. Also added some comments and test cases.
2016-12-2240162: _arguments support for a match spec in combination with setsOliver Kiddle1-0/+5
2016-12-1640203: Resolve 'printf --' question from grandparent commit (thanks Chet).Daniel Shahaf1-2/+0
2016-12-1540198: output of B02typeset differs when (( UID == 0 )) so do not attempt to ↵Barton E. Schaefer1-5/+9
redo that test in that case
2016-12-1440179: fix handling of "printf -" and "printf --"Barton E. Schaefer1-0/+14
unposted: regression test for 40179 / 37467
2016-12-1040139: tests: Convert comments to diagnostics; test backslashes. (after 40129)Daniel Shahaf1-10/+9
2016-12-09unposted: minor D07 typosPeter Stephenson1-2/+2
2016-12-0940138: Move regex multibyte test.Peter Stephenson1-12/+16
Put it last as it has an additional dependency. Output a failure message indicating this.
2016-12-0940129: revert 39611, add code comments and test cases for _argumentsOliver Kiddle1-14/+237
2016-12-0640110: attempt to fix test failures on SolarisBarton E. Schaefer2-2/+2
B02typeset: ignore strerror text in test output, it differs by OS C02cond: discard stderr when looking for a path to the "mount" command
2016-12-0540102: Use subdirectory for test I/O filesPeter Stephenson2-9/+13
2016-12-0540100: ERR_EXIT and ERR_RETURN test for anonymous functions.Peter Stephenson1-0/+11
Should trigger on non-zero status at end of function even if behaviour is suppressed by code inside the function at the point the status is set.
2016-12-05Additional case for ERR_RETURN and ERR_EXIT.Peter Stephenson1-0/+17
Don't trigger just because status is non-zero at end of current shell group.
2016-12-05Extra case for ERR_RETURN and ERR_EXIT.Peter Stephenson1-0/+70
Don't trigger just because status is non-zero at end of complex shell construct as this may be a case we've already suppressed.
2016-12-0440088: atttempt to make interactive param test more robustPeter Stephenson1-3/+4
2016-12-03unposted: regression test for 40071Barton E. Schaefer1-0/+6
2016-12-0340068: Abort execution when setuid/setgid fail.Daniel Shahaf1-0/+10
The incumbent code would print an error message and continue execution with the previous uid/gid values, not even setting lastval: % UID=42 id -u; echo $? zsh: failed to change user ID: operation not permitted 1000 0 %
2016-11-2840010: builtins: Say 'bad option: +x', not 'bad option: -x', when +x was passed.Daniel Shahaf1-0/+5
2016-11-2739757 plus test: Fix completion under parenthetical directory names, broken ↵Daniel Shahaf1-0/+3
in 39412
2016-11-23unposted: add test case for partial completion matching of options with ↵Oliver Kiddle1-0/+6
arguments
2016-11-23unposted: fix printf -v to an array without format string reuseOliver Kiddle1-0/+6
2016-11-2139993: Tests for 39981.Oliver Kiddle1-0/+11
2016-11-2039986, 39989: improve handling of vi-repeat-changeOliver Kiddle1-3/+7
Save previous vi change and throw away a new change that fails. Add zle -f vichange to allow shell widget to be a single change. Fix repeat of command where numeric arguments were multiplied.
2016-11-2039995 (from 39977): Optimise string parameter assignment.Peter Stephenson1-0/+140
If setter is the standard one and string length is unchnaged we can copy into place.
2016-11-1739915: whence: Honor PATH_DIRS option for arguments that start with './' or ↵Daniel Shahaf1-0/+4
'../'. While here, add some docstrings.
2016-11-1739959: when repeating vi changes advance through the numbered killring registersOliver Kiddle1-0/+15
Also fix numeric arguments with vi-repeat-change: and argument passed to the repeat replaces that previously saved with the change.
2016-11-1639945: allow further tab presses to move on to menu completion even when ↵Oliver Kiddle1-0/+61
compstate[insert] is emptied
2016-11-1539949: Special case for "-" in directory names.Peter Stephenson1-0/+8
It can be sh-tokenized to Dash to allow for appearing in ranges after substitution, so needs to be turned back to "-" in that case.
2016-11-1539947: Additional test for array subscripts.Peter Stephenson1-0/+8
This checks out-of-range multiple subscripts with and without the (@) flag.