summaryrefslogtreecommitdiff
path: root/Test/D04parameter.ztst
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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-09unposted: Add tests for ${(q)} being aware of the EQUALS option.Daniel Shahaf1-0/+4
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-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-01-2937752: More tests for the previous patch.Daniel Shahaf1-0/+18
2016-01-2937700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax.Daniel Shahaf1-0/+16
2016-01-2037705: don't turn - to Dash after start of brace parameterPeter Stephenson1-0/+6
2015-12-0837348: Tests and fix for ${(q+)...}.Peter Stephenson1-0/+14
Needs dupstring() for empty string case.
2015-12-0737344: restore old printable quoting, add ${(q+)...}.Peter Stephenson1-1/+1
The \C- form is only used inside quotedzputs(). ${(q+)...} outputs a quotedzputs() representation.
2015-12-0737335: fix tests after 34314Peter Stephenson1-2/+2
2015-11-2020974: Bug with scalar assignment to special array in typesetPeter Stephenson1-0/+19
2015-11-1237096: Another $${(P)...} tweak.Peter Stephenson1-1/+1
Make a top level (P) work with nested ones, i.e. ${(P)${(P)...}...}
2015-11-1137094: Further tweaks to parameter name references.Peter Stephenson1-0/+49
Safety in array test. Make nested references work. Add parameter tests.
2015-11-0737074: extend previous fix to over whitespace at endPeter Stephenson1-32/+32
2015-11-0637073: another SH_WORD_SPLIT problem.Peter Stephenson1-0/+54
In cases like x${:- y} the space was simply removed instead of being used for splitting.
2015-10-2736982: Fix bug with (#cN) patterns and remove redundant description.Peter Stephenson1-0/+9
We need to restore the current count of matches when returning to match at the point where we previously matched.
2015-09-28unposted: Test for 36669Daniel Shahaf1-0/+6
2015-09-1736552 plus test: fix Nularg string in quotestring(QT_DOLLARS)Barton E. Schaefer1-0/+4
2015-08-09Fix retying variables in opposite order.Peter Stephenson1-0/+5
Now gives an error. Add test.
2015-07-0635694: fix handling of history modifiers applied across all elements of an ↵Barton E. Schaefer1-0/+9
array parameter value
2015-05-3135343: Avoid $#name length handling for POSIX_IDENTIFIERSPeter Stephenson1-3/+6
2015-05-2935326: $#- was misparsed as ${#-}Peter Stephenson1-0/+5
2015-05-1135078: Add backslash quoting to parameter (b) flag from 35067.Peter Stephenson1-1/+1
2015-05-1035067: Add (b) parameter flag for pattern char backslashing.Peter Stephenson1-0/+4
Doc tweak from Daniel in 35071. Includes test.
2015-02-1334546: further $_ with anon function fix.Peter Stephenson1-0/+29
Also add tests.
2015-01-1834322: bug with interface to parsestr() etc.Peter Stephenson1-0/+7
Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy.
2014-12-14unposted: Add missing -f arg to zsh in D04parameter.ztstPeter Stephenson1-2/+2
2014-11-02Treat exec from subshell as if forkedPeter Stephenson1-1/+8
This removes weird behaviour when optimising the last command. In particular SHLVL is correct from a subshell executed as the last command.
2014-10-1333459: test for variable substitution in variable splittingPeter Stephenson1-0/+20
2014-08-0432949 (wip 32928, 32937): Add :^ syntax for zipping two arraysMikael Magnusson1-0/+76
2013-11-1732001: fix crash on ${:*} and ${:|}Peter Stephenson1-0/+9
2013-01-2230993: fix parameter modifier crash with :wq on empty stringPeter Stephenson1-0/+7
2012-05-01users/17046: don't count too many elements when splitting quoted parameterPeter Stephenson1-1/+15
substitution on null parameter
2012-04-2230439: ${...:*...} with nonexistent or non-array after *Peter Stephenson1-0/+5
should return no results
2012-04-2230431 with typo in _typeset fix:Peter Stephenson1-0/+23
add ${...:|...} and ${...:*...} operators, as documented
2012-04-1630413: (q-) parameter flag should quote null stringPeter Stephenson1-0/+7
(q-q) etc. should be treated as errors
2012-04-1030383, users/16991 (Vaclav), users/17000: Improve speed of arrayuniq() byBart Schaefer1-0/+10
implementing a hash seive algorithm; add test to exercise it.
2012-02-2930299: "$*" was split with SHWORDSPLIT if IFS was empty or unsetPeter Stephenson1-0/+10
2012-02-2230242: Tests for ${...=...} in POSIX emulationBart Schaefer1-1/+4
2012-02-1230181, plus rename of PF_* flags to PREFORK_*:Peter Stephenson1-0/+14
Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option.
2011-08-17users/16253, users/16255: a nulstring should be split like an empty stringPeter Stephenson1-0/+5
2011-06-0329451: ${##stuff} removes stuff from the head of $#Peter Stephenson1-1/+9