Commit Graph

21 Commits

Author SHA1 Message Date
Peter Stephenson
60b410fd7c "typeset -g <var>" should be silent even without TYPESET_SILENT 2008-11-05 13:01:56 +00:00
Peter Stephenson
6951a1e0b2 25671: non existing variable in typeset -p should cause status 1 2008-09-15 08:57:25 +00:00
Peter Stephenson
b8a36eea87 25662: declare -p should never create arguments 2008-09-13 19:59:13 +00:00
Peter Stephenson
2d03aa87fb 24264: restrict effect of 24234 to parameter substitution code and document 2007-12-16 14:05:14 +00:00
Peter Stephenson
5d5d1bef6e 24234: apply typeset parameter flags consistently 2007-12-13 20:52:52 +00:00
Peter Stephenson
6c60a8ec79 23732: three broken tests 2007-07-31 14:24:26 +00:00
Peter Stephenson
595dd31b63 23730: improve preprocessor and regression tests for 23725 2007-07-31 11:26:54 +00:00
Peter Stephenson
40b42fc6f6 23726: test for adding and removing environment variables 2007-07-30 20:55:40 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
05bd0b2dd1 22518: Initial go at making parameter subscripts
use multibyte characters.
2006-06-26 18:17: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
Peter Stephenson
69b4b8bdde 20605: Use separate structure with get/set/unset methods fro parameters.
Separate justification width of parameters from base/precision.
2004-12-07 16:54:58 +00:00
Peter Stephenson
037485c4a4 20378: Matthias B.: fix bugs joining with metafied chars. 2004-09-17 09:25:38 +00:00
Oliver Kiddle
8c890ebe7f 19800: reverse sense of `declare +m' test, -m now being allowed for declare 2004-04-20 11:51:03 +00:00
Peter Stephenson
a869fe1c57 19139: add tests for typeset -T 2003-09-25 09:50:23 +00:00
Bart Schaefer
a02a308839 17985: fix hiding/tagging test 2002-12-06 10:23:15 +00:00
Peter Stephenson
252da01c87 17967: Quote some arguments in B02typeset.ztst. 2002-11-26 15:31:20 +00:00
Peter Stephenson
31d6ad578b 17432: typeset test, typeset shows base for integer 2002-07-05 10:51:52 +00:00
Bart Schaefer
d978bb894e Fix and regression tests for crash on typeset of local array elements. 2001-08-13 17:43:04 +00:00