summaryrefslogtreecommitdiff
path: root/Test
AgeCommit message (Collapse)AuthorFilesLines
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.
2016-11-1039901: No EXIT trap on LHS of pipeline.Peter Stephenson1-0/+17
There is a special case if the LHS is a shell construct. Add unit tests for both cases.
2016-11-0839870: ensure exit trap can always runPeter Stephenson1-0/+15
2016-11-05unposted: tests for 39839, 39844Barton E. Schaefer1-0/+13
2016-11-0539389: when printf -v is used with an array use separate elements each time ↵Oliver Kiddle1-0/+6
the format is reused
2016-11-0339824: test case for 39811 (commit ae4c035c)Barton E. Schaefer1-0/+8
2016-11-0339815: Read input to end on parse error in $(...) inside a string.Peter Stephenson1-0/+8
This allows ${(z)} to output the whole string, although we can't do word splitting from the error onwards.
2016-11-0139787: Add a regression test for 39412.Daniel Shahaf1-0/+10
2016-10-3039777: $() is a valid empty command substitutionPeter Stephenson1-0/+14
2016-10-24"typeset -p" uses "export" commands or the "-g" option for parameters that ↵Barton E. Schaefer3-5/+5
are not local to the current scope
2016-10-1939678: metafication of printf %q argument and resultPeter Stephenson1-0/+4
2016-10-1339625: case needs to reset lastval if no pattern matchedMartijn Dekker1-0/+17
2016-10-1339622: add test cases for recent _arguments fixes, exclusion lists and -A/-SOliver Kiddle1-0/+93
2016-10-1039599: Don't reset status before "case" executionPeter Stephenson1-0/+8
2016-10-0639578: Test more ERR_RETURN cases with "&&" and functionsPeter Stephenson1-0/+30
2016-10-0539571: Fix ERR_EXIT bug with && and function.Peter Stephenson1-9/+22
"foo && bar" inside a function could cause the code outside the function not to perform ERR_EXIT or ERR_RETURN when needed.
2016-10-0539568: "! <complex-command>" suppresses ERR_EXITPeter Stephenson1-0/+27
2016-10-0539566: Improve usefulness of command_not_found_handler.Peter Stephenson1-3/+2
Don't behave as if command not found if return status is non-zero as this may simply be the return status of the replacement command. Let the function report a command not found instead.
2016-10-0339521: Refactor start of execcmd().Peter Stephenson1-9/+6
By splitting into _analyse and _exec execpline2() has easier access to the state at the start of execution. Use this to ensure we fork if this is a builtin with no arguments.
2016-10-0239540: "! command" should suppress ERR_EXIT and ERR_RETURNPeter Stephenson1-0/+37
2016-09-3039517: back off 39502 (WC_ASSIGN causes fork in pipe).Peter Stephenson1-6/+9
This isn't a robust fix as WC_ASSIGNs simply precede the main wordcode.
2016-09-2939502: Fork for assignment in LHS of pipeline.Peter Stephenson1-0/+7
foo=bar | stuff left the value of foo set to bar as we didn't realise we needed to fork.
2016-09-2934943: Fixes for "command" with multiple options.Peter Stephenson1-0/+10
These need to combine properly, and alos "command -p" with either -v or -V needs to search for builtins and then using the default system path.
2016-09-1639332: support ksh's [[ -v varname ]] condition for checking if variables ↵Oliver Kiddle1-0/+19
are set
2016-09-14zsh-users/21903: Fix ${...?...} in interactive shell.Peter Stephenson1-0/+14
On failure should abort back to top level, but we reset the error flag around commands. Add a hard error flag that's only reset at top level.
2016-09-1339292: Distinguish "=" and "==" tests in output.Peter Stephenson3-4/+13
This is both in xtrace output and shell code rebuilt from internal structures.
2016-09-09unposted: Add tests for ${(q)} being aware of the EQUALS option.Daniel Shahaf1-0/+4
2016-09-0839222: test math functions in modules.Peter Stephenson1-0/+74
Use zsh/system.
2016-08-3139141: Use zsh instead of sh in SHLVL test.Peter Stephenson1-12/+14
This removes ambiguous behaviour of sh which may or may not increment SHLVL.
2016-08-3139125: More care needed decrementing SHLVL on exec.Stephane Chazelas1-0/+18
Not needed in subshell.
2016-08-2939115: repair forced joining when (@) and (j) are used togetherBarton E. Schaefer1-0/+9
2016-08-2239046 + 39061: New :P history modifier.Daniel Shahaf1-0/+8
2016-08-1239035: ${(A)name=word} should expand as an array even when there is only one ↵Barton E. Schaefer1-0/+5
element.
2016-08-1239028: more join/split cases fixed and tested.Barton E. Schaefer1-2/+8
2016-08-1139019 (cf. PWS 39013): add test cases for more join/split combinationsBarton E. Schaefer1-0/+55
Accidentally omitted from previous commit.
2016-08-0538991: Make 'whence -v autoloaded-function' shows the defining filename.Daniel Shahaf1-0/+10
This may also fix a problem whereby the %x prompt escape evaluated to a function name rather than a filename, since %x is also backed by scriptfilename.
2016-07-1838879: Unmetafy file names for glob sort.Peter Stephenson1-0/+17
Test using Polish UTF-8 collation sequence that'w known to cause the problems.
2016-07-0538728: Tests: Add tests for the ':a' and ':A' modifiers.Daniel Shahaf1-1/+24
2016-06-2538652: test harness: Emit unified diffs instead of context diffsDaniel Shahaf1-3/+3