diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Test/B02typeset.ztst | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index d35cb4ad3..3151ca4e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-09-25 Peter Stephenson <pws@csr.com> + + * 19139: Test/B02typeset.ztst: add extra tests for typeset -T. + 2003-09-25 Wayne Davison <wayned@users.sourceforge.net> * unposted: Src/builtin.c: fixed old-style typeset -T (without diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst index f69e5de73..832c4a373 100644 --- a/Test/B02typeset.ztst +++ b/Test/B02typeset.ztst @@ -195,6 +195,18 @@ >i:n:n:e:r >outer + typeset -TU MORESTUFF=here-we-go-go-again morestuff '-' + print -l $morestuff +0:Tied arrays with separator specified +>here +>we +>go +>again + + typeset -T THIS will not work +1:Tied array syntax +?(eval):typeset:1: -T requires names of scalar and array + local array[2]=x 1:Illegal local array element assignment ?(eval):local:1: array[2]: can't create local array elements |