Peter Stephenson
aba936b17c
22981: Zvi Har'el: bad call from 22952
...
22980: add hook array for special functions
2006-11-08 10:38:05 +00:00
Peter Stephenson
f367a90505
22980: 22952 messed up parameter padding flag optional arguments
2006-11-07 22:47:07 +00:00
Peter Stephenson
d8207acddb
22952: fix some argument delimiters to work with multibyte characters
2006-11-02 18:43:19 +00:00
Peter Stephenson
9471bbcfa0
22934, modified, see 22937: add HIST_SUBST_PATTERN option
...
make ${.../#%...} anchor at both ends
2006-11-01 12:25:18 +00:00
Andrey Borzenkov
daed9601f7
revert 22758 and add LC_NUMERIC and LC_MESSAGES
...
to test harness instead
2006-09-23 06:55:29 +00:00
Andrey Borzenkov
4e576c069c
22758: fix tests by setting locale to C
2006-09-22 19:34:05 +00:00
Peter Stephenson
a242b1eb35
22705: make ${(l...)...} and ${(r...)...} handle multibyte characters
2006-09-13 20:55:29 +00:00
Peter Stephenson
6371325fdf
22689: untokenize strings used in parameter substitution pattern matching
2006-09-12 09:56:25 +00:00
Peter Stephenson
b262d310b2
22686: unset array if assigning numeric parameter
2006-09-11 11:09:15 +00:00
Peter Stephenson
1e7c19eca3
22572: use of (#m) was broken with pure strings
2006-08-01 17:16:43 +00:00
Peter Stephenson
663b9376ad
22562: make ${...#...} etc. understand multibyte characters
2006-07-30 18:00:37 +00:00
Peter Stephenson
09bc7ee2b5
22557: turn on multibyte option by default
2006-07-25 18:10:37 +00:00
Peter Stephenson
50e9ab122b
22556: Multibyte separators and delimiters
2006-07-24 22:00:19 +00:00
Peter Stephenson
732e440159
unposted: update .distfiles
2006-07-18 09:25:50 +00:00
Peter Stephenson
3d3318d8f6
22550: put "exec" tests
...
in subshells and allow substitution on test output to occur
after the test.
2006-07-12 12:02:51 +00:00
Peter Stephenson
0a22eb0e0c
22546: fix {myfd}>... bug and tweak tests
2006-07-11 15:36:37 +00:00
Peter Stephenson
4a67f24798
22544: Improve use of ztype tests for multibyte characters. Add
...
POSIX_IDENTIFIERS option to control allowability of multibyte
alphanumeric characters in parameter and module names.
2006-07-10 13:08:22 +00:00
Peter Stephenson
4cd7b957f3
22529: multibyte conversion in math expressions
2006-06-30 09:41:34 +00:00
Peter Stephenson
6157c14d06
22525: lengths and cases of multibyte strings in parameters and history
2006-06-28 13:12:55 +00:00
Peter Stephenson
f95a6a913c
22524: searchable parameter subscripts with multibyte chars,
...
a few other fixes
2006-06-27 16:28:45 +00:00
Peter Stephenson
fbd93a2a82
22519: initial multibyte parameter tests
2006-06-26 22:01:22 +00:00
Peter Stephenson
05bd0b2dd1
22518: Initial go at making parameter subscripts
...
use multibyte characters.
2006-06-26 18:17:31 +00:00
Peter Stephenson
b7474e065b
22416, tweaked: math functions via shell functions
...
unposted: add styles to pick-web-browser
2006-04-19 16:09:06 +00:00
Peter Stephenson
862c974d7c
22277: missed bit
2006-03-03 22:09:58 +00:00
Wayne Davison
fd679250cc
Make sure that the (A) assignment of a single-item array retains
...
its arrayness. Also ensure that the array/scalar type of each
assigned variable is correct.
2006-02-17 18:29:57 +00:00
Wayne Davison
64aae150a0
Test that ${(A)=name:=word} avoids splitting on quoted whitespace.
2006-02-16 19:53:00 +00:00
Wayne Davison
a3a1e8765a
Added a test for ${name+$array$scalar}.
2006-02-15 18:38:58 +00:00
Wayne Davison
e22cb51922
- Some changes to handle ${1+"$@"} being fixed.
...
- Added quite a few new tests.
2006-02-15 10:13:43 +00:00
Peter Stephenson
4ca967e200
21882: extend prompt truncation to handle multibyte characters
2005-10-19 08:39:02 +00:00
Peter Stephenson
cca66ab341
21862/21863: GLOB_SUBST shouldn't swallow up backslashes in parameter
...
substitutions that don't match anything.
2005-10-11 16:48:05 +00:00
Peter Stephenson
ad2bd42c85
21758: optimise =(<<<...) to run within the shell.
2005-09-23 17:03:16 +00:00
Peter Stephenson
f2d873d811
21701: Negative subscripts of scalars before start were broken
2005-09-06 15:28:17 +00:00
Peter Stephenson
635b405c55
21678: Unsetting tied parameters caused various crashes
2005-08-22 11:43:36 +00:00
Peter Stephenson
b0ca393c47
21655: bug in ${..//../${..//../..}}
2005-08-17 23:45:31 +00:00
Wayne Davison
5aa648a5f2
Third time's a charm: a better fix than using either a subshell or
...
"setopt localoptions" is to use a function for the final test (since
it destroys all the variables in the environment). This allows us to
directly test that the environment was properly restored after the
function call, and ensures that the caller (ZTST_execchunk, which
directly exec'ed the test code) still has all the vars that it expects
in the environment (such as ZTST_verbose, options, and ZTST_mainopts).
2005-08-11 16:25:10 +00:00
Wayne Davison
a97e3fda33
A better fix than my last patch is to use "setopt localoptions".
2005-08-10 18:57:23 +00:00
Wayne Davison
a5d84c393a
Put the last test into a sub-shell so that it doesn't interfere
...
with the temp-file cleanup.
2005-08-10 07:50:07 +00:00
Wayne Davison
5cba05a3be
21580: Thorsten's patch to make sure that no pre-existing traps
...
interfere with the tests.
2005-08-09 07:53:49 +00:00
Wayne Davison
e0d0d9bfac
Got rid of trap call for now.
2005-08-09 06:51:40 +00:00
Wayne Davison
bcf2770d44
Test both %b and %s in the empty-arg test.
2005-08-09 00:32:58 +00:00
Peter Stephenson
6c79be71af
21576: test for 21575
2005-08-08 17:19:57 +00:00
Wayne Davison
bd3ea046ee
Improved the %d and %g tests.
2005-08-04 20:15:40 +00:00
Wayne Davison
b558aa3487
Three more tests based on recent fixes.
2005-08-01 21:51:43 +00:00
Wayne Davison
730b7d8c2f
- Improved how we check the no-newline test cases.
...
- Added a test case for "echo -n".
2005-08-01 21:33:49 +00:00
Wayne Davison
71c4ea95c6
Added tests for \c escape handling.
2005-07-26 00:28:14 +00:00
Oliver Kiddle
6245d3e32f
21317: fix bug where recursive glob within e qualifier would hang the shell
2005-06-21 08:58:43 +00:00
Oliver Kiddle
7ba32bbc26
add test for 21352
2005-06-17 08:38:51 +00:00
Peter Stephenson
4fc0fadfaa
Add [[:IFS:]] etc. tests.
2005-05-09 10:46:08 +00:00
Bart Schaefer
5ade42c05e
21215: clean up after autoloaded trap test
2005-05-01 01:23:54 +00:00
Peter Stephenson
ba1a545516
21194: fix handling of zero-length quoted test strings for patterns
2005-04-26 09:51:27 +00:00