summaryrefslogtreecommitdiffstats
path: root/Test
Commit message (Collapse)AuthorAgeFilesLines
* 53709: tests: add misc. glob-qualifier testsdana2025-06-031-0/+60
|
* 53662: tests: add extra namespace testsdana2025-05-241-0/+16
| | | | relates to workers/53660
* 53626: tests: make `whence -s` test use `grep -c` instead of `wc -l`dana2025-05-161-2/+2
| | | | fixes broken test on platforms like macos where `wc -l` output is padded
* users/30257: Add a test for an ERR_RETURN bug fixed in workers/51076.Daniel Shahaf2025-05-141-0/+10
|
* 53607: Stop printing /usr/bin/foo -> /usr/bin/foo in 'whence -s'.Daniel Shahaf2025-05-141-1/+1
| | | | | | Makes the new test PASS. Review-by: Bart Schaefer
* 53524 (cf. 53607): Add an XFAIL test for a 'whence -s' bug involving ↵Daniel Shahaf2025-05-141-0/+4
| | | | non-symlink arguments.
* 53588: zsystem flock: handle optargs in the same worddana2025-05-131-0/+10
| | | | with small tweak to test, just in case
* 53602: "typeset -nu" always refers to at a call level above the declarationBart Schaefer2025-05-121-10/+22
|
* 53568: fix additional problems with reference scoping, update documentationBart Schaefer2025-05-091-2/+72
| | | | | Scope exits could miss some scope updates in named reference chains. References declared -u behave like any other reference upon scope exit.
* 53546,53557 (plus test): Fix scoping of "placeholder" named referencesBart Schaefer2025-05-061-0/+160
| | | | | | | When using placeholders declared several levels earlier than assignment: 1) Searching "up" for "typeset -n -u" could find deeper locals than intended 2) Searching for a subscript reference could skip to the top level 3) Exiting a function scope could incorrectly change the reference level
* 53529: A04redirect fix.Peter Stephenson2025-05-011-14/+14
| | | | | Sometimes permissions in system directories can affect the error for non-existent files. Use the local directory instead.
* 53527: remove zgetoptdana2025-04-281-206/+0
| | | | | | reverts most of 84ef0c523, 0e369f37d, and 9b68cf38f feature was not ready. may be re-added after 5.10 release
* 53516: add zgetopt contrib functiondana2025-04-271-0/+206
|
* 53515: tests: correct ztst documentation errordana2025-04-271-7/+7
|
* 53483: zparseopts -G: accept only '--' as parsing terminatordana2025-04-191-0/+25
|
* 53482: zparseopts -G: always add options with optional args to array with =dana2025-04-191-2/+2
|
* 53431: fix assignment via named reference to parameters in outer scopesBart Schaefer2025-03-311-0/+47
|
* 53348: Revise handling of incompatible typeset options when used with -nBart Schaefer2025-02-121-1/+1
|
* 53297: Test/A08time: allow %nU/%nS result to be 0dana2025-01-021-1/+1
|
* 53260: zparseopts: add options -v (argv) and -G (GNU-style parsing)dana2024-12-261-5/+176
|
* 53257: use monotonic clock where appropriatedana2024-12-263-2/+66
| | | | | | | | | | | | | | | update the following features to use the monotonic clock for calculating time deltas and intervals: * MAILCHECK parameter * PERIOD parameter * SECONDS parameter * %(nS.t.f) prompt-expansion sequence * time built-in's elapsed time and cpu % values * zsh/zftp ZFTP_TMOUT parameter * zsh/zprof timings also use CLOCK_MONOTONIC_RAW instead of CLOCK_MONOTONIC on macOS
* 53244: rename user in test case to reduce likelihood of failure due to user ↵Oliver Kiddle2024-11-231-8/+8
| | | | existing
* 53209 + tests: do not unmetafy via string pointers into global parameter tableBart Schaefer2024-11-051-0/+8
|
* 53103: fix spurious test failure on SolarisBart Schaefer2024-09-211-1/+2
|
* 53088: enable `time' on builtins, assignments, and current-shell actionsBart Schaefer2024-09-142-7/+64
|
* 53087: don't produce spurious error when zpty is missingOliver Kiddle2024-09-141-20/+20
|
* unposted: fix parsing of Bang token in value side of array element assignmentBart Schaefer2024-08-151-0/+7
|
* 52977: ERR_EXIT/ERR_RETURN are respected by the final command in && / || listsPhilippe Altherr2024-06-281-0/+27
|
* 52864: Change ${|var|...} to ${{var} ...}, limit local REPLY to ${|...}Bart Schaefer2024-04-012-11/+49
|
* 52759: ${ ... } trims one trailing newline; "${ ... }" preserves that newline.Bart Schaefer2024-03-171-6/+35
|
* 52752: typeset -p fixes for local exports and "export -x" / "readonly -r" ↵Bart Schaefer2024-03-141-7/+7
| | | | output.
* 52692: local typeset of the name of a named reference hides the referenceBart Schaefer2024-03-051-3/+48
|
* 52659: Fix crash on unset-through-nameref, add regression testBart Schaefer2024-03-041-0/+25
|
* Add missing test case from 52652Bart Schaefer2024-03-041-0/+1
|
* 52650 plus minor fixes: add -u for named references pointing to "upper" scopeBart Schaefer2024-03-042-5/+52
|
* 52641: incarg: add a backward variant and make it repeatablemidchildan2024-03-051-78/+280
|
* 52635: show file name when test has crashedJun. T2024-03-021-0/+1
|
* 52619 (plus tests): no empty element when appending array to unset scalarBart Schaefer2024-02-281-4/+17
|
* 52583: extra check for proper scope and existence of readonly specialsBart Schaefer2024-02-231-0/+41
|
* 52559: revise "typeset -p" with respect to local readonly special parametersBart Schaefer2024-02-203-6/+25
| | | | | Update doc and tests to describe handling of global readonly specials and to account for side-effects on zsh/param/private.
* Merge branch 'master' of git://git.code.sf.net/p/zsh/codeBart Schaefer2024-02-181-2/+14
|\
| * 52515: (+ tests in 52527) avoid sh errors when running shebang-less scripts ↵Stephane Chazelas2024-02-181-2/+14
| | | | | | | | with paths starting with - or +
* | 52556: regression test for unset referent (left out of last commit)Bart Schaefer2024-02-181-0/+11
|/
* 52520: add new features and improvements to the "incarg" ZLE widgetmidchildan2024-02-151-0/+360
| | | | | | | | | | - Decrement integers without defining a new widget - Preserve the number of leading zeros - Increment binaries, octals, and hexadecimals - Move the cursor to the end of the incremented integer - Create a sequence of integers across terminal panes - Add a Vim variant - Also add tests
* 52513: fixes and doc for using nofork substitutions with private parametersBart Schaefer2024-02-031-7/+111
| | | | Also fixes a crash bug with {fd}>&N redirections and private parameters
* 52405, 52502: add empty elements to $match for optional captures that don't ↵Oliver Kiddle2024-01-261-0/+5
| | | | match
* 52385: avoid "tr" in test output formattingBart Schaefer2024-01-251-2/+3
|
* 52393: fix tests on Solaris by omitting -a option to diff as it is not ↵Oliver Kiddle2023-12-131-1/+3
| | | | supported there
* 52360: simplify and improve bad-descriptor detection in %prep sectionBart Schaefer2023-12-021-3/+2
|
* 52325: Clarify doc for edge cases of named references and nofork substitutionBart Schaefer2023-11-231-1/+1
| | | | Unposted whitespace change avoids a parse error in ${ ... } with comments.