summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-08-10 18:57:23 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-08-10 18:57:23 +0000
commita97e3fda33b002ec6065809881388cc1ff816976 (patch)
treef233ea7e8da3a1f84ca533a172efa6c5a44f6eb6
parenteb094067875ba06f182c7850d5592bd3c71cc56a (diff)
downloadzsh-a97e3fda33b002ec6065809881388cc1ff816976.tar.gz
zsh-a97e3fda33b002ec6065809881388cc1ff816976.zip
A better fix than my last patch is to use "setopt localoptions".
-rw-r--r--Test/B02typeset.ztst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst
index 048e5cdbe..fccf0d4d6 100644
--- a/Test/B02typeset.ztst
+++ b/Test/B02typeset.ztst
@@ -23,7 +23,7 @@
%prep
- setopt noglob
+ setopt localoptions noglob
scalar=scalar
array=(a r r a y)
@@ -342,7 +342,7 @@
>scalar a r y
# The first declare works around the "not an identifier" bug with -h
- (declare \! \# \$ \* - \? @ 0
+ declare \! \# \$ \* - \? @ 0
typeset -h +g -m \*
unset -m \*
integer i=9
@@ -350,7 +350,7 @@
declare -t scalar
declare -H -a array
typeset
- typeset +)
+ typeset +
0:Parameter hiding and tagging, printing types and values
>array local array
>float local f