summary refs log tree commit diff
path: root/Test
Commit message (Collapse)AuthorAgeFilesLines
* unposted: zstyle: Add a unit test and some comments.Daniel Shahaf2019-12-011-0/+10
|
* unposted: Add smoke test for :P history modifier.Daniel Shahaf2019-11-191-0/+7
|
* 44664: Fix problem with temporary assignment.Peter Stephenson2019-08-141-0/+12
| | | | | "foo=bar builtin" inside a function lost any variable from enclosing scope.
* Copy functions using functions -c old new.Peter Stephenson2019-08-031-1/+68
| | | | Documentation and test.
* 44523: Add ZTST_handler capability.Peter Stephenson2019-07-161-1/+6
| | | | | Defaults to runtests.zsh but can be something else for alternative test management.
* 44469: correct error on missing option argumentMartijn Dekker2019-07-011-0/+17
|
* 44446: Fix here document with file descriptor declarator.Peter Stephenson2019-06-241-1/+9
| | | | Add unit test.
* 44435: Handling digita arguments for :h and :t.Peter Stephenson2019-06-203-0/+128
| | | | | | | Pick number of leading or trailing path components to substitute. Active in history, brace parameters, glob qualifiers. Add tests for all three environments.
* 44345: fix wordcode traversal where ! without a following command could ↵Oliver Kiddle2019-05-231-0/+33
| | | | result in a crash
* 44296: "typeset Q= {X}" crashed the shell.Peter Stephenson2019-05-141-0/+7
|
* unposted: Fix bad encoding in previous Y01 test patchdana2019-05-081-4/+4
|
* unposted: Add compset tests related to workers/44275Oliver Kiddle2019-05-081-0/+38
| | | | (Provided off-list by Oliver)
* 44274: allow finer control of completion match soring with compadd's -o optionOliver Kiddle2019-05-071-0/+40
|
* 44267: sort: Restore option to ignore backslashesdana2019-05-031-0/+22
| | | | Fix regression introduced by workers/41242
* 44271: Fix breaks propagated from until or return.Peter Stephenson2019-05-031-0/+10
| | | | | | If the until or return test caused continuation but there was a pending return, breaks didn't get cancelled causing enclosing scope to skip commands.
* 44100: zparseopts: Add -F option, completion, tests; improve documentationdana2019-03-121-0/+172
| | | | | | | * Enable zparseopts to perform basic usage validation (aborting on an unrecognised option-like parameter) * Officially document the resolution of ambiguous option specs
* unposted: ztst.zsh: fix a typoJun-ichi Takimoto2019-03-011-1/+1
|
* 44030: prompt: Return error for unrecognised colour namedana2019-02-031-0/+8
|
* 44012: X04zlehighlight: Fix spurious test failures on OpenBSDdana2019-01-231-1/+8
|
* 44011: Only use fg_start_code for non-truecolorMikael Magnusson2019-01-231-4/+4
| | | | The sequence for truecolor uses a different prefix from palette colors
* 43962: Fix X04 test module_pathdana2018-12-311-0/+1
|
* users/23809: ZLE_HIGHLIGHT extensions.Peter Stephenson2018-12-301-0/+153
| | | | | Allow non-termcap use of colours > 7. Add tests.
* 43945 (tweaked to remove test failure, noted in test):Martijn Dekker2018-12-301-0/+53
| | | | | Fix exit statuses from wait for POSIX_BUILTINS mode. Also add tests.
* 43944: apply NO_UNSET consistently to arithmeitcMartijn Dekker2018-12-301-0/+16
|
* unposted: test for 43938Peter Stephenson2018-12-301-0/+8
|
* 43953: Fix rounding/truncation error in %. time-format specifierdana2018-12-291-0/+16
| | | | | | | Also fixes an issue where %. couldn't be used more than once in a format string without strange results Tweaked very slightly per workers/43954
* 43935: Reject too-large nanosecond values given to strftimedana2018-12-241-1/+4
| | | | | | | ... and, in so doing, fix an error in the tests on 32-bit machines. The value for the new too-large test is changed slightly from the patch posted to the ML to make it test for the right thing on 32-bit machines as well.
* 43837 plus test from Daniel: Empty string in nested subst.Peter Stephenson2018-11-211-0/+7
| | | | Skip Nularg or there is a bogus character at the start.
* 43800: Add nanosecond support to strftime built-indana2018-11-131-0/+29
|
* 43726: Add tests for semicolon in the middle of a sublist not terminating it.Daniel Shahaf2018-10-241-0/+10
|
* unposted: another couple of tests for previous commit.Peter Stephenson2018-10-101-0/+6
| | | | | This tests different code paths as the -c command option exits in a different fashion from code executed from a script.
* 43669: ensure explicit exit status is used over implicitPeter Stephenson2018-10-101-0/+3
|
* 43660: extend 43653 when final exit is implicit.Peter Stephenson2018-10-091-0/+4
| | | | | | | Combine logic for case after committed to exit (shell_exiting) with case where exit occurred in a function we nee to unwind (exit_pending). Add sarky note for future generations to be confused at.
* unposted: addition to previous trap test suggested by MikaelPeter Stephenson2018-10-091-0/+3
|
* 43653: explicit exit from EXIT trap overrides exit statusPeter Stephenson2018-10-091-0/+3
|
* 43616: Various parameter setting and display fixes.Peter Stephenson2018-10-081-7/+284
| | | | | | Mostly to do with typeset -p and tied variables and their interaction. Some general tied variable fixes.
* unposted: Add a test for 43546.Daniel Shahaf2018-09-251-0/+5
|
* 43493: Have V07pcre fail if PCRE was enabled by configure (config.modules) ↵Daniel Shahaf2018-09-241-3/+2
| | | | but failed to load for any reason.
* 43466: Make path(5) test more generic.Peter Stephenson2018-09-141-6/+11
| | | | Only test non-zero status as OS error codes and messages vary.
* 43426: disable job control tests involving suspension.Peter Stephenson2018-09-101-34/+36
| | | | These are provoking races on OpenSUSE.
* 43375 with fix from 43390: fix #! tests.Peter Stephenson2018-09-051-7/+11
| | | | Don't assume path to sh and echo, instead work it out.
* CVE-2018-0502, CVE-2018-13259: Fix two security issues in shebang line parsing.Anthony Sottile2018-09-031-0/+22
| | | | | | See NEWS for more information. Patch by Anthony Sottile and Buck Evan.
* 43275: Add log2 to match funcdana2018-08-131-0/+6
|
* 43264: fix ${+assoc[nonexistent]} with KSH_ARRAYSPeter Stephenson2018-08-091-0/+8
|
* 43261: Fix unary minus with base.Peter Stephenson2018-08-081-0/+4
| | | | | Apply unary minus to a complete lexical constant rather than the first component that comes along.
* users/23531: Error exit/return fixes.Peter Stephenson2018-07-091-0/+17
| | | | | | | | | | Fix regression with trap on left hand side of pipe. Fix forced return from shell structure within nested function. Fix tests exiting too early. Add new test case.
* 43075: Support nanosecond-precision time formattingdana2018-06-201-0/+8
| | | | | | | | * Teach ztrftime() %9. and %N for nanoseconds * Update prompt expansion to pass sub-second times for time formatting * Update zsh/stat to pass sub-second times for atime/mtime/ctime Patch heavily based on Oliver's earlier work @ workers/24059
* unposted: V01zmodload.ztst needs update for parameter module fixPeter Stephenson2018-06-181-0/+3
|
* 42297: (e) subscript flag needs extra work with scalarsdana2018-05-141-0/+16
|
* 42488: test cases for 42369 and address some issues in the codeOliver Kiddle2018-05-133-2/+47
|