about summary refs log tree commit diff
path: root/Test/D04parameter.ztst
Commit message (Collapse)AuthorAgeFilesLines
* 40909: Stress test for parameter substitutionSebastian Gniazdowski2017-03-301-0/+12
|
* 40891: fix more zero-length matches.Peter Stephenson2017-03-231-0/+10
| | | | This time at the end of the trial string.
* 22601: Fix for parameter substitution pattern matches.Peter Stephenson2017-03-231-0/+10
| | | | | It was not possible to math against a zero-length string in some cases.
* 40803, 40804, 40805, 40806: Parameter test additions.Peter Stephenson2017-03-091-1/+13
| | | | | | Potentially dodgy string for ${(z)...} splitting from Sebastian. Check that $- and ${-} produce plausible results.
* 40565 (tweaked): test cases for assigning array to scalar with various ↵Barton E. Schaefer2017-02-201-0/+80
| | | | combinations of SHWORDSPLIT and IFS
* 40088: atttempt to make interactive param test more robustPeter Stephenson2016-12-041-3/+4
|
* unposted: regression test for 40071Barton E. Schaefer2016-12-031-0/+6
|
* 39947: Additional test for array subscripts.Peter Stephenson2016-11-151-0/+8
| | | | | This checks out-of-range multiple subscripts with and without the (@) flag.
* 39815: Read input to end on parse error in $(...) inside a string.Peter Stephenson2016-11-031-0/+8
| | | | | This allows ${(z)} to output the whole string, although we can't do word splitting from the error onwards.
* zsh-users/21903: Fix ${...?...} in interactive shell.Peter Stephenson2016-09-141-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.
* unposted: Add tests for ${(q)} being aware of the EQUALS option.Daniel Shahaf2016-09-091-0/+4
|
* 39141: Use zsh instead of sh in SHLVL test.Peter Stephenson2016-08-311-12/+14
| | | | | This removes ambiguous behaviour of sh which may or may not increment SHLVL.
* 39125: More care needed decrementing SHLVL on exec.Stephane Chazelas2016-08-311-0/+18
| | | | Not needed in subshell.
* 39115: repair forced joining when (@) and (j) are used togetherBarton E. Schaefer2016-08-291-0/+9
|
* 39035: ${(A)name=word} should expand as an array even when there is only one ↵Barton E. Schaefer2016-08-121-0/+5
| | | | element.
* 39028: more join/split cases fixed and tested.Barton E. Schaefer2016-08-121-2/+8
|
* 39019 (cf. PWS 39013): add test cases for more join/split combinationsBarton E. Schaefer2016-08-111-0/+55
| | | | Accidentally omitted from previous commit.
* 37752: More tests for the previous patch.Daniel Shahaf2016-01-291-0/+18
|
* 37700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax.Daniel Shahaf2016-01-291-0/+16
|
* 37705: don't turn - to Dash after start of brace parameterPeter Stephenson2016-01-201-0/+6
|
* 37348: Tests and fix for ${(q+)...}.Peter Stephenson2015-12-081-0/+14
| | | | Needs dupstring() for empty string case.
* 37344: restore old printable quoting, add ${(q+)...}.Peter Stephenson2015-12-071-1/+1
| | | | | | The \C- form is only used inside quotedzputs(). ${(q+)...} outputs a quotedzputs() representation.
* 37335: fix tests after 34314Peter Stephenson2015-12-071-2/+2
|
* 20974: Bug with scalar assignment to special array in typesetPeter Stephenson2015-11-201-0/+19
|
* 37096: Another $${(P)...} tweak.Peter Stephenson2015-11-121-1/+1
| | | | Make a top level (P) work with nested ones, i.e. ${(P)${(P)...}...}
* 37094: Further tweaks to parameter name references.Peter Stephenson2015-11-111-0/+49
| | | | | | | | Safety in array test. Make nested references work. Add parameter tests.
* 37074: extend previous fix to over whitespace at endPeter Stephenson2015-11-071-32/+32
|
* 37073: another SH_WORD_SPLIT problem.Peter Stephenson2015-11-061-0/+54
| | | | | In cases like x${:- y} the space was simply removed instead of being used for splitting.
* 36982: Fix bug with (#cN) patterns and remove redundant description.Peter Stephenson2015-10-271-0/+9
| | | | | We need to restore the current count of matches when returning to match at the point where we previously matched.
* unposted: Test for 36669Daniel Shahaf2015-09-281-0/+6
|
* 36552 plus test: fix Nularg string in quotestring(QT_DOLLARS)Barton E. Schaefer2015-09-171-0/+4
|
* Fix retying variables in opposite order.Peter Stephenson2015-08-091-0/+5
| | | | | Now gives an error. Add test.
* 35694: fix handling of history modifiers applied across all elements of an ↵Barton E. Schaefer2015-07-061-0/+9
| | | | array parameter value
* 35343: Avoid $#name length handling for POSIX_IDENTIFIERSPeter Stephenson2015-05-311-3/+6
|
* 35326: $#- was misparsed as ${#-}Peter Stephenson2015-05-291-0/+5
|
* 35078: Add backslash quoting to parameter (b) flag from 35067.Peter Stephenson2015-05-111-1/+1
|
* 35067: Add (b) parameter flag for pattern char backslashing.Peter Stephenson2015-05-101-0/+4
| | | | | | Doc tweak from Daniel in 35071. Includes test.
* 34546: further $_ with anon function fix.Peter Stephenson2015-02-131-0/+29
| | | | Also add tests.
* 34322: bug with interface to parsestr() etc.Peter Stephenson2015-01-181-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.
* unposted: Add missing -f arg to zsh in D04parameter.ztstPeter Stephenson2014-12-141-2/+2
|
* Treat exec from subshell as if forkedPeter Stephenson2014-11-021-1/+8
| | | | | This removes weird behaviour when optimising the last command. In particular SHLVL is correct from a subshell executed as the last command.
* 33459: test for variable substitution in variable splittingPeter Stephenson2014-10-131-0/+20
|
* 32949 (wip 32928, 32937): Add :^ syntax for zipping two arraysMikael Magnusson2014-08-041-0/+76
|
* 32001: fix crash on ${:*} and ${:|}Peter Stephenson2013-11-171-0/+9
|
* 30993: fix parameter modifier crash with :wq on empty stringPeter Stephenson2013-01-221-0/+7
|
* users/17046: don't count too many elements when splitting quoted parameterPeter Stephenson2012-05-011-1/+15
| | | | substitution on null parameter
* 30439: ${...:*...} with nonexistent or non-array after *Peter Stephenson2012-04-221-0/+5
| | | | should return no results
* 30431 with typo in _typeset fix:Peter Stephenson2012-04-221-0/+23
| | | | add ${...:|...} and ${...:*...} operators, as documented
* 30413: (q-) parameter flag should quote null stringPeter Stephenson2012-04-161-0/+7
| | | | (q-q) etc. should be treated as errors
* 30383, users/16991 (Vaclav), users/17000: Improve speed of arrayuniq() byBart Schaefer2012-04-101-0/+10
| | | | implementing a hash seive algorithm; add test to exercise it.