about summary refs log tree commit diff
path: root/Test
Commit message (Collapse)AuthorAgeFilesLines
* 34753: work around NFS problem in tests.Peter Stephenson2015-03-201-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.
* 34734: further aliasing adjustments and docBarton E. Schaefer2015-03-181-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
* Missing test for alias fixPeter Stephenson2015-03-051-0/+15
|
* 34606: fix up nested arithmetic substitutionPeter Stephenson2015-02-221-0/+8
| | | | | | | | Arithmetic within a parameter substitution is a special case that needs fixing with the introduction of the new Inparmath token. Add test.
* 34587: ensure multibyte characters don't overflow.Peter Stephenson2015-02-201-5/+15
| | | | | | They could start incorporating tokens, with bad karma. Add test.
* 34570: Another nasty command / math substituion thing.Peter Stephenson2015-02-191-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.
* 34560: Fix $(( that's actually a multiline cmd subst.Peter Stephenson2015-02-161-0/+35
|
* 34530: PRINT_EXIT_VALUE with anonymous functions.Peter Stephenson2015-02-161-6/+6
| | | | Simpler fix, avoiding structural changes.
* 34546: further $_ with anon function fix.Peter Stephenson2015-02-131-0/+29
| | | | Also add tests.
* 34514: Back out 34485, an alternate solution needs to be worked out.Barton E. Schaefer2015-02-121-6/+6
| | | | (Tweaked to keep the unrelated hunk of the E01 test.)
* 34485: More rationalisation for anonymous functions.Peter Stephenson2015-02-091-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().
* 34344: fix 34338, pcre builtins need loading tooBarton E. Schaefer2015-01-221-0/+2
|
* 34338: check pcre-match feature availabilityBarton E. Schaefer2015-01-221-1/+1
| | | | It is possible for the module to be linked/loadable but have no features.
* users/19756: test for case of closing fd with no error messagePeter Stephenson2015-01-201-1/+6
|
* users/19751: remove error on failure to close file descriptor by number.Peter Stephenson2015-01-201-4/+6
| | | | | Keep it when closing file descriptor stored in a variable, i.e. explicitly opened by the user.
* 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.
* 34280: more widespread use of FORCE_FLOAT.Peter Stephenson2015-01-151-0/+10
| | | | Add the case of variables read for use in arithmetic expressions.
* 34283: test X02 also needs zpty and shouldn't run on CygwinPeter Stephenson2015-01-141-1/+3
|
* 34275: assume zpty can't be used for testing CygwinPeter Stephenson2015-01-144-4/+11
|
* Propagate float/integer type in arithmetic assignment.Peter Stephenson2015-01-121-1/+9
| | | | | | Add test. Mention this and also floating point mod change in README.
* 34247: regression test for 34230.Barton E. Schaefer2015-01-111-0/+6
|
* test for alias expansion in command substitutionPeter Stephenson2015-01-101-0/+12
|
* Fix command substitutions to parse contents as they are read in.Peter Stephenson2015-01-081-0/+42
| | | | | | | Do this by refactoring misnamed lexsave()/lexrestore() to allow continuity of history and input. Add test.
* 34077: further tests for return status from "for" loopsPeter Stephenson2015-01-021-0/+53
|
* 34064: assignment before command replaces array with export even when KSH_ARRAYSTakeshi Banse2014-12-271-0/+18
|
* 34065: following an "if" condition, do not test lastval for ERR_EXIT until a ↵Barton E. Schaefer2014-12-271-0/+17
| | | | | | new command is run Includes unposted regression tests.
* unposted: Add missing -f arg to zsh in D04parameter.ztstPeter Stephenson2014-12-141-2/+2
|
* 33924: allow vi line/characterwise mode to be forcedOliver Kiddle2014-12-081-0/+21
|
* 33829: unbind ESC~ as a more reliable workaroundJun-ichi Takimoto2014-12-072-1/+2
|
* 33860: minor fixes to vi mode changesOliver Kiddle2014-12-051-0/+10
|
* 33823: overwrite mode shouldn't replace newlinesOliver Kiddle2014-11-301-0/+13
|
* 33816, 33819: GLOB_ASSIGN changes integer and floating type variables to ↵Barton E. Schaefer2014-11-281-0/+20
| | | | string scalars
* unposted: test binary input using 0bPeter Stephenson2014-11-261-0/+8
|
* 33769: workaround for KEYTIMEOUT to work from testJun T2014-11-251-2/+2
| | | | cases on Darwin and FreeBSD
* 33738: account for a selection in vi-replace-charsOliver Kiddle2014-11-211-0/+5
|
* 33730: vim style text objects for selecting wordsOliver Kiddle2014-11-211-0/+39
|
* 33704: keybindings, documentation, tests and minorOliver Kiddle2014-11-172-1/+110
| | | | fixes for vim style visual selection changes
* 33699: support short delays in zle tests where weOliver Kiddle2014-11-172-3/+15
| | | | need KEYTIMEOUT to elapse
* 33695: fix various vi-indent problems and vi-swap-case on a blank lineOliver Kiddle2014-11-152-1/+22
|
* 33686: set PS1 before pattern-matching for itBarton E. Schaefer2014-11-131-3/+3
| | | | | If run as a privleged user, the default PS1 does not contain "%", so don't use the default PS1 when expecting to match "%" in the output.
* 33669: allow an empty line to be yanked with yyOliver Kiddle2014-11-131-0/+7
| | | | This by allocating 1 byte instead of 0 for the empty buffer.
* 33599: workaround zpty issue that causes vi testJun T2014-11-091-1/+1
| | | | cases to fail on MacOS and FreeBSD
* 33639: fix bug with vi operators on a blank lineOliver Kiddle2014-11-091-0/+15
| | | | and with backward bracket matching
* 33604: fix change merging for vi mode where a change has just been undoneOliver Kiddle2014-11-051-0/+6
|
* 33593: support numeric argument to vi-joinOliver Kiddle2014-11-031-0/+12
|
* 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.
* correct cursor position in testOliver Kiddle2014-10-311-1/+1
|
* 33570, 33576: make killring/yank-pop work in vi mode afterOliver Kiddle2014-10-301-0/+28
| | | | vi-put-before and vi-put-after
* 33528: take notice of last column position when using vi-yankOliver Kiddle2014-10-291-0/+19
| | | | and an upward cursor movement
* 33564: care with monitor option in testPeter Stephenson2014-10-261-1/+1
|