about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Test/D06subscript.ztst4
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 56ae7f59a..8d841f11d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,8 +3,9 @@
 	* 15613 (plus unposted additions): Test/B02typeset.ztst: Tests for
 	correct behavior of typeset options and arguments.
 
-	* 15611: Src/builtin.c: Fix crash bug when assigning to array
-	elements in a function in the arguments of typeset or local.
+	* 15611: Src/builtin.c, Test/D06subscript.ztst: Fix crash bug when
+	assigning to array elements in a function in the arguments of
+	typeset or local.  Change test for new typeset restrictions.
 
 2001-08-13  Sven Wischnowsky  <wischnow@zsh.org>
 
diff --git a/Test/D06subscript.ztst b/Test/D06subscript.ztst
index d3645c636..f90c1cb0a 100644
--- a/Test/D06subscript.ztst
+++ b/Test/D06subscript.ztst
@@ -146,8 +146,8 @@
 >\2 backcbrack cbrack star
 >\\\4 \\\? star zounds
 
-  typeset "A[one\"two\"three\"quotes]"=QQQ
-  typeset 'A[one\"two\"three\"quotes]'=qqq
+  typeset -g "A[one\"two\"three\"quotes]"=QQQ
+  typeset -g 'A[one\"two\"three\"quotes]'=qqq
   print -R "$A[one\"two\"three\"quotes]"
   print -R $A[one\"two\"three\"quotes]
   A[one"two"three"four"quotes]=QqQq