Jun-ichi Takimoto
4fc5dc0292
50629: do not use egrep in tests
2022-09-15 18:56:20 +09:00
Jun-ichi Takimoto
c36068357b
50342: fix test added by 50306
2022-06-09 15:08:39 +09:00
Peter Stephenson
b26b6b3fe0
Tweaks to MULTI_FUNC_DEF
...
Output multiple function definitions using "function" form.
Note exceptions to errors with NO_MULTI_FUNC_DEF
2022-06-07 10:02:14 +01:00
Jun-ichi Takimoto
22b1a91c2a
50306: fix wait for child that was stopped/continued
...
do not call addbgstatus() when child is stopped/continued
2022-06-03 19:32:56 +09:00
Bart Schaefer
23dab58b8e
Fix problems with tests for 50126 and 50150.
2022-05-02 20:31:47 -07:00
Bart Schaefer
8fac1b7c62
50160: Regression tests for 50126, 50136, and 50149
2022-05-01 12:17:33 -07:00
Daniel Shahaf
f80f880c4b
50157: Tests for 50150
2022-05-01 12:13:08 -07:00
Bart Schaefer
cc264fb58b
50159: Tests for sysread, including 50101 regression
2022-05-01 11:56:28 -07:00
Jun-ichi Takimoto
6dbaff7a80
50089: unset LC_* for multibyte tests in X03zlebindkey
2022-04-26 19:52:12 +09:00
Bart Schaefer
af634c3acd
unposted (see 50072): check exit status in exit-from-trap test
2022-04-17 19:19:05 -07:00
Bart Schaefer
f5c2f73301
50069: ChangeLog and test description for 50068
2022-04-14 16:39:34 -07:00
Bart Schaefer
d24d7242fe
50068: 'exit' in trap causes calling function to return
2022-04-14 16:31:50 -07:00
Jun-ichi Takimoto
0ad3b11a13
50052: do nothing when skipping test V14system
2022-04-14 10:30:06 +09:00
Jun-ichi Takimoto
c19f1313e3
50046: ztst.zsh: export LANG to child zsh
2022-04-14 10:19:57 +09:00
Jun-ichi Takimoto
06e5ec914f
50013: skip %test if a chunk in %prep fails
...
Only %test is skipped if a chunk in %prep returns nonzero. Both %test
and %clean are skipped if ZTST_unimplemented is set in a chunk of %prep.
ZTST_cleanup is run in both cases.
2022-04-12 16:56:18 +09:00
Jun-ichi Takimoto
3622551e02
49996 (Peter) + 50012: add ZTST_continue
2022-04-12 16:30:40 +09:00
Bart Schaefer
f4fb3e7f04
50043: avoid spurious test failures when "make check" as root
2022-04-11 15:45:42 -07:00
Peter Stephenson
98e4634086
49906 (Bart), 49911: Fixes to querying jobs in subshell.
...
Don't attempt to query invalid job off end of table, resulting in
crashes from $jobtstates.
If background task started in subshell, look at tatsks within subshell
instead of main shell. Document and add test.
2022-03-30 09:28:43 +01:00
Mikael Magnusson
f11227f78d
49813: Add missing test
2022-03-30 10:01:03 +02:00
Jun-ichi Takimoto
596b8e3fae
49910: move multibyte-related f-flagged test from E03 to D07
...
POSIX requires printf should calculate width/precision in %s conversion
in bytes (not in characters) even in multibyte locale
2022-03-30 10:40:34 +09:00
Jun-ichi Takimoto
6617f19234
49908: reset LC_CTYPE to C during tests
...
and do not export MODULE_PATH since child zsh will not import it
2022-03-30 09:42:57 +09:00
Jun-ichi Takimoto
8154ddc62d
49853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bash
2022-03-29 11:09:36 +09:00
Jun-ichi Takimoto
ee1d622042
49802 (+49804): pass MODULE_PATH to zsh started in test W03
2022-03-06 13:29:31 +09:00
Peter Stephenson
1640457f47
49792: Non-interative shell input is line buffered.
2022-03-03 19:19:35 +00:00
Peter Stephenson
2be2efc122
49787: test for jobs fix in 49783
2022-03-03 19:07:53 +00:00
Oliver Kiddle
7cb980b536
49518: fix exclusions for mixed - and + stacked options
2021-12-14 12:30:55 +01:00
Daniel Shahaf
7acfb7dfae
49628: Add an xfail test for RPS1/RPROMPT equivalence.
2021-12-01 06:32:54 +00:00
Daniel Shahaf
884cd84722
49624: Expect the test 'All identifiers are variable references in POSIX arithmetic' to pass, as it has been passing since 49611.
2021-12-01 04:20:56 +00:00
Oliver Kiddle
78958c08bf
49601: don't create ambiguous history file entries for lines ending with a backslash
2021-11-28 20:49:30 +01:00
Daniel Shahaf
709f1057b7
47599 (tweaked): New test for '{foo,bar}' in command position
...
It's currently treated as a list but should perhaps be a brace expansion.
2021-11-26 08:30:08 +00:00
Dimitris Apostolou
356dcb20ce
github #82 : Fix typos
2021-11-12 23:54:34 +01:00
Marlon Richert
c7f4634549
49572: Let _expand preserve array form w/out zstyle glob
2021-11-12 22:13:10 +01:00
Oliver Kiddle
dfb7ac94bb
49561: add zformat -F option, similar to -f but ternary expressions check for existence instead of doing math evaluation
2021-11-12 20:33:52 +01:00
Oliver Kiddle
0b6e73d477
unposted (c.f. Bart: 49531): fix completion test where a typo marked it as expected to fail
2021-10-30 23:21:35 +02:00
Marlon Richert
f2b6650b43
49521: Define correct behavior of || completion matchers
...
* Add xfail tests to show how :||= matchers should behave in order to
provide completion features that cannot be implemented with :|=
matchers.
* Update compwid.yo to further describe the correct behavior.
* Update compwid.yo to use completion terminology more consistently.
2021-10-26 18:44:40 +02:00
Oliver Kiddle
e40938c128
49499 based on 49496 by Jun T.: fixes to option -A of _arguments
2021-10-23 18:21:24 +02:00
Bart Schaefer
fa4c88ca25
49456: clean up detection of private params in nested scopes, update doc
2021-10-04 09:02:27 -07:00
Daniel Shahaf
ca94d3acda
unposted: Fix typos
2021-09-26 09:00:32 +00:00
Peter Stephenson
db46c9cd58
49353: Fix comments in sourced file.
...
If the file was sourced from an interactive shell with
INTERACTIVE_COMMENTS not set, comments were not parsed.
Note there is a remaining edge case where the sourced
file is in fact entered at the comment line.
2021-09-09 20:05:39 +01:00
Bart Schaefer
3b97a36847
49386: handle separate source/build trees
2021-09-08 15:47:43 -07:00
Jun-ichi Takimoto
2a7945a900
49377: fix segfault by 'bindkey -d' with reordered keymapnamtab
2021-09-08 09:51:43 +09:00
Marlon Richert
1508dc7486
49218: run-help filters cmd_args before calling run-help-<command>
2021-09-06 13:47:10 -07:00
Bart Schaefer
a31fd3077d
48888: improve doc for $$ and $PPID, add fail test for PPID readonly-ness
2021-09-06 12:46:28 -07:00
Peter Stephenson
daa208e907
49269: Fix "[ ! -o ]".
...
This should detect "-o" as non-empty string; "-a" was alrady working.
Update the test.
2021-08-10 09:19:32 +01:00
Jun-ichi Takimoto
9b3a292410
49166: fix coredump in ${name:offset:length} with ill-formatted length
2021-07-19 09:13:03 +09:00
Marlon Richert
e732073415
48864: Improve extra-verbose completion display strings for array parameter values
2021-05-21 23:45:26 +02:00
Daniel Shahaf
492c388e1d
48594 (plus an "F:" line corresponding to the question there): New tests for functions -t / functions -T
2021-05-18 01:57:06 +00:00
Bart Schaefer
cae7eb7684
48560: add new test file missed on original commit
2021-05-15 13:46:20 -07:00
Bart Schaefer
34a8fecf7b
48810: fix potential name clash in test case for autoloading
2021-05-15 13:45:14 -07:00
Peter Stephenson
9e38ab8178
48787: Fix command status after failed if
...
If "if" had a hard error in the condition, and there was no
else clause, the command status was incorrectly cleared to zero.
Add test.
2021-05-06 10:03:27 +01:00