about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-08-13 17:45:03 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-08-13 17:45:03 +0000
commitbe5e65d2bbc04b66655c88cbf0f9075f50c310c2 (patch)
tree0429f6f876d7a7f6f0339a9c5104abca8ba54b37
parentd978bb894ee6309f066973f97947b4b110a490cf (diff)
downloadzsh-be5e65d2bbc04b66655c88cbf0f9075f50c310c2.tar.gz
zsh-be5e65d2bbc04b66655c88cbf0f9075f50c310c2.tar.xz
zsh-be5e65d2bbc04b66655c88cbf0f9075f50c310c2.zip
Adjust test for new typeset restrictions.
-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