From 268e56a1446af3ca6df84789180b87ac4f57d1d3 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 16 Aug 2012 14:00:11 +0000 Subject: 30169: repeat "typeset -T" with same two first arguments is not an error --- Test/B02typeset.ztst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Test/B02typeset.ztst') diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst index 7a9928abe..51ebc6535 100644 --- a/Test/B02typeset.ztst +++ b/Test/B02typeset.ztst @@ -459,3 +459,12 @@ silent2(){ local silence; silent1; } silent2 0:typeset -g should be silent even without TYPESET_SILENT + + typeset -T TIED_SCALAR tied_array + TIED_SCALAR=foo:bar + print $tied_array + typeset -T TIED_SCALAR=goo:car tied_array + print $tied_array +0:retying arrays to same array works +>foo bar +>goo car -- cgit 1.4.1