summaryrefslogtreecommitdiff
path: root/Test
AgeCommit message (Collapse)AuthorFilesLines
2015-06-12Add non-metafied character length handling.Peter Stephenson1-0/+13
Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters.
2015-06-0735412: fix for - flag when formating strings with printfOliver Kiddle1-2/+6
2015-06-0335374: tab expansion with double width charactersPeter Stephenson1-0/+9
2015-06-0235369: better GLOB_ASSIGN testingPeter Stephenson2-12/+23
2015-06-0235359: Improved math parsing and errors.Peter Stephenson1-4/+18
Check for bogus trailing ")" at end of top-level parse. Extend some math error messages to indicate they are math errors.
2015-06-0235353: print -x and print -X expand tabsPeter Stephenson1-0/+13
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-2735306: "test -z \(" failed due to parse confusionPeter Stephenson1-0/+14
2015-05-2135248: treat fully parenthised zsh patterns as complete case patterns againPeter Stephenson1-3/+33
2015-05-1835193: Add "unalias -a".Peter Stephenson1-0/+10
2015-05-1835184: Additional case fix for 35168.Peter Stephenson1-0/+15
Lexical analysis flags got screwed up after a "|", so we didn't parse patterns properly, in particular those with parentheses.
2015-05-1835168: Improve parsing of case patterns.Peter Stephenson1-0/+39
"|" is now found properly by looking for words that come from the lexical analyser, rather than hacking a pattern returned in one dollop. Update some completion functions that need extra quoting as a result. Add test for new parsing. Update version number to 5.0.8-dev-3 because of wordcode incompatibility.
2015-05-1535153: nested math substitutionPeter Stephenson1-0/+8
2015-05-13users/20203: nested functions in always blocks when exit pendingPeter Stephenson1-0/+22
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-05-0835059: fix, document, test readonly -p.Peter Stephenson1-0/+21
Don't output specials as can't be reconstructed. Output arrays in a useful order.
2015-05-0835056: turn off PROMPT_SP for interactive testPeter Stephenson1-5/+7
2015-05-0735054: readonly -p + POSIXBUILTINS fix.Peter Stephenson1-2/+4
Now displays unset variables marekd readonly
2015-05-0435029: improvements to newline handling for vi-mode word movementOliver Kiddle1-0/+88
2015-04-2934992: POSIX fix for readonly variables.Peter Stephenson1-0/+17
With POSIXBUILTINS, variables can be marked readonly if unset. Also, variables can't have the readonly flag removed.
2015-04-2534961: test for breadth-first glob with (Y1) qualifier (originally ↵Barton E. Schaefer1-0/+2
workers/32726)
2015-04-1534901: Test for the previous commitPeter Stephenson1-0/+17
2015-04-1534892 (slightly tweaked): math evaluation fixPeter Stephenson1-1/+4
An empty expression resulting from substitution includes a Nularg, which needs handling the same as an empty string.
2015-04-1534887: Fix POSIX_BUILTINS with assignment.Peter Stephenson1-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.
2015-03-2834781: add implicit space after alias expansion of tokens that form words ↵Barton E. Schaefer1-1/+1
without spacing fixes crash when using completion immediately following such an alias
2015-03-2834804: refine POSIX_ALIAS change to preserve old behavior of [[ ]] conditionalsBarton E. Schaefer1-0/+4
2015-03-2734787: Add more history testsPeter Stephenson1-0/+41
2015-03-2534779: tests for 34776Barton E. Schaefer2-1/+25
2015-03-2534774: fix %prep and use read from a no-op pipe to force wait for the timeoutBarton E. Schaefer2-2/+2
2015-03-2334772: add new test suite file for history; fix "read" usage in comptestBarton E. Schaefer2-1/+20
2015-03-2034753: work around NFS problem in tests.Peter Stephenson1-9/+29
Use tmp directory if it helps us check file time comparisons. If it doesn't we're no worse off than we were.
2015-03-1834734: further aliasing adjustments and docBarton E. Schaefer1-1/+1
restrict token aliasing (34641) to global aliases; tighten up POSIX_ALIASES to better match spec; update Aliasing doc to cover this and clarify older behavior 2015-03-18 Peter Stephenson <p.stephenson@samsung.com> * 34723: configure.ac: turn off fixed site function directory if
2015-03-05Missing test for alias fixPeter Stephenson1-0/+15
2015-02-2234606: fix up nested arithmetic substitutionPeter Stephenson1-0/+8
Arithmetic within a parameter substitution is a special case that needs fixing with the introduction of the new Inparmath token. Add test.
2015-02-2034587: ensure multibyte characters don't overflow.Peter Stephenson1-5/+15
They could start incorporating tokens, with bad karma. Add test.
2015-02-1934570: Another nasty command / math substituion thing.Peter Stephenson1-0/+23
Mark arithmetic substitutions with tokens to make sure the substitution go knows what to do. Before it was guessing by counting the parentheses at the end.
2015-02-1634560: Fix $(( that's actually a multiline cmd subst.Peter Stephenson1-0/+35
2015-02-1634530: PRINT_EXIT_VALUE with anonymous functions.Peter Stephenson1-6/+6
Simpler fix, avoiding structural changes.
2015-02-1334546: further $_ with anon function fix.Peter Stephenson1-0/+29
Also add tests.
2015-02-1234514: Back out 34485, an alternate solution needs to be worked out.Barton E. Schaefer1-6/+6
(Tweaked to keep the unrelated hunk of the E01 test.)
2015-02-0934485: More rationalisation for anonymous functions.Peter Stephenson1-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().
2015-01-2234344: fix 34338, pcre builtins need loading tooBarton E. Schaefer1-0/+2
2015-01-2234338: check pcre-match feature availabilityBarton E. Schaefer1-1/+1
It is possible for the module to be linked/loadable but have no features.
2015-01-20users/19756: test for case of closing fd with no error messagePeter Stephenson1-1/+6
2015-01-20users/19751: remove error on failure to close file descriptor by number.Peter Stephenson1-4/+6
Keep it when closing file descriptor stored in a variable, i.e. explicitly opened by the user.
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.
2015-01-1534280: more widespread use of FORCE_FLOAT.Peter Stephenson1-0/+10
Add the case of variables read for use in arithmetic expressions.
2015-01-1434283: test X02 also needs zpty and shouldn't run on CygwinPeter Stephenson1-1/+3