summaryrefslogtreecommitdiff
path: root/Test
AgeCommit message (Collapse)AuthorFilesLines
2025-04-2853527: remove zgetoptdana1-206/+0
reverts most of 84ef0c523, 0e369f37d, and 9b68cf38f feature was not ready. may be re-added after 5.10 release
2025-04-2753516: add zgetopt contrib functiondana1-0/+206
2025-04-2753515: tests: correct ztst documentation errordana1-7/+7
2025-04-1953483: zparseopts -G: accept only '--' as parsing terminatordana1-0/+25
2025-04-1953482: zparseopts -G: always add options with optional args to array with =dana1-2/+2
2025-03-3153431: fix assignment via named reference to parameters in outer scopesBart Schaefer1-0/+47
2025-02-1253348: Revise handling of incompatible typeset options when used with -nBart Schaefer1-1/+1
2025-01-0253297: Test/A08time: allow %nU/%nS result to be 0dana1-1/+1
2024-12-2653260: zparseopts: add options -v (argv) and -G (GNU-style parsing)dana1-5/+176
2024-12-2653257: use monotonic clock where appropriatedana3-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
2024-11-2353244: rename user in test case to reduce likelihood of failure due to user ↵Oliver Kiddle1-8/+8
existing
2024-11-0553209 + tests: do not unmetafy via string pointers into global parameter tableBart Schaefer1-0/+8
2024-09-2153103: fix spurious test failure on SolarisBart Schaefer1-1/+2
2024-09-1453088: enable `time' on builtins, assignments, and current-shell actionsBart Schaefer2-7/+64
2024-09-1453087: don't produce spurious error when zpty is missingOliver Kiddle1-20/+20
2024-08-15unposted: fix parsing of Bang token in value side of array element assignmentBart Schaefer1-0/+7
2024-06-2852977: ERR_EXIT/ERR_RETURN are respected by the final command in && / || listsPhilippe Altherr1-0/+27
2024-04-0152864: Change ${|var|...} to ${{var} ...}, limit local REPLY to ${|...}Bart Schaefer2-11/+49
2024-03-1752759: ${ ... } trims one trailing newline; "${ ... }" preserves that newline.Bart Schaefer1-6/+35
2024-03-1452752: typeset -p fixes for local exports and "export -x" / "readonly -r" ↵Bart Schaefer1-7/+7
output.
2024-03-0552692: local typeset of the name of a named reference hides the referenceBart Schaefer1-3/+48
2024-03-0452659: Fix crash on unset-through-nameref, add regression testBart Schaefer1-0/+25
2024-03-04Add missing test case from 52652Bart Schaefer1-0/+1
2024-03-0452650 plus minor fixes: add -u for named references pointing to "upper" scopeBart Schaefer2-5/+52
2024-03-0552641: incarg: add a backward variant and make it repeatablemidchildan1-78/+280
2024-03-0252635: show file name when test has crashedJun. T1-0/+1
2024-02-2852619 (plus tests): no empty element when appending array to unset scalarBart Schaefer1-4/+17
2024-02-2352583: extra check for proper scope and existence of readonly specialsBart Schaefer1-0/+41
2024-02-2052559: revise "typeset -p" with respect to local readonly special parametersBart Schaefer3-6/+25
Update doc and tests to describe handling of global readonly specials and to account for side-effects on zsh/param/private.
2024-02-18Merge branch 'master' of git://git.code.sf.net/p/zsh/codeBart Schaefer1-2/+14
2024-02-1852556: regression test for unset referent (left out of last commit)Bart Schaefer1-0/+11
2024-02-1852515: (+ tests in 52527) avoid sh errors when running shebang-less scripts ↵Stephane Chazelas1-2/+14
with paths starting with - or +
2024-02-1552520: add new features and improvements to the "incarg" ZLE widgetmidchildan1-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
2024-02-0352513: fixes and doc for using nofork substitutions with private parametersBart Schaefer1-7/+111
Also fixes a crash bug with {fd}>&N redirections and private parameters
2024-01-2652405, 52502: add empty elements to $match for optional captures that don't ↵Oliver Kiddle1-0/+5
match
2024-01-2552385: avoid "tr" in test output formattingBart Schaefer1-2/+3
2023-12-1352393: fix tests on Solaris by omitting -a option to diff as it is not ↵Oliver Kiddle1-1/+3
supported there
2023-12-0252360: simplify and improve bad-descriptor detection in %prep sectionBart Schaefer1-3/+2
2023-11-2352325: Clarify doc for edge cases of named references and nofork substitutionBart Schaefer1-1/+1
Unposted whitespace change avoids a parse error in ${ ... } with comments.
2023-11-1552202: improve handling of quoting in ${var/pattern/replacement}Bart Schaefer1-4/+4
2023-09-2752188: skip tests that fail if multibyte is not availableJun-ichi Takimoto1-6/+14
2023-09-16users/29160, workers/52156: Fix repetition of substitution modifier.Bart Schaefer1-0/+2
2023-09-1652155: Test file missed out from previous commitBart Schaefer1-0/+448
2023-09-1352122 + 52129: fix (#) parameter expansion flagJun-ichi Takimoto1-0/+40
Without the X flag, null string "" is substituted for bad math expression.
2023-09-0552115: permit repeated "private" declarations as long as types aren't changedBart Schaefer1-0/+17
2023-09-03users/29220: fix bug with assignment to private following explicit unsetBart Schaefer1-0/+7
2023-08-0152008: Pattern bug with branches + exclusionPeter Stephenson1-0/+26
Add tests.
2023-07-2651945: assorted documentation improvements, bug fixes, and new testBart Schaefer1-1/+69
1) Document the behavior of "typeset -n existing_var" (via Jun T. comment) 2) Prohibit "typeset -nm pattern" because, well, it's insane. Add test. 3) Improve doc for ${(!)ref} including ${{t!)ref} (Jun T.) 4) Fix doc for how-to unset of a named ref (Jun T.) 5) Allow "typeset +r -n ref" and "typeset +r +n ref" (Jun T.) 6) Fix "typeset -r -n ref=param" to create readonly references 7) Avoid accidental removal of PM_UNSET flag (Jun T.) and update test 8) Fix "typeset -gn ref=value" and add a test for it 9) Add tests for read-only reference behavior 10) Fix infinite recursion when resolving scope of an unset local named reference, add test.
2023-07-2051977: PIPEFAIL interaction with ERREXIT / ERRRETURNPeter Stephenson1-0/+58
Ensure the list-level error handling code is executed if we detect pipe failure for a foreground job. Add tests.
2023-06-2651884: reset IFS if it contains invalid charactersJun-ichi Takimoto1-0/+21
This happens only if MULTIBYTE option is on.