about summary refs log tree commit diff
path: root/Test/B02typeset.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-01-19 09:49:40 +0000
committerPeter Stephenson <pws@zsh.org>2016-01-19 09:49:40 +0000
commitd0cd9032d8b46051b490790a30e87a1e87c86670 (patch)
tree8c437563ce03d56824e58f4afff8845c221f9e88 /Test/B02typeset.ztst
parent896f43c72bcfd3f1e2240f54609868634a3c4e45 (diff)
downloadzsh-d0cd9032d8b46051b490790a30e87a1e87c86670.tar.gz
zsh-d0cd9032d8b46051b490790a30e87a1e87c86670.tar.xz
zsh-d0cd9032d8b46051b490790a30e87a1e87c86670.zip
37646: bit missed out of previous readonly commit.
I mean, the commit about readonly.  Commits aren't readonly, this is git.
Diffstat (limited to 'Test/B02typeset.ztst')
-rw-r--r--Test/B02typeset.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst
index 681fe73c7..d6d24210b 100644
--- a/Test/B02typeset.ztst
+++ b/Test/B02typeset.ztst
@@ -706,3 +706,8 @@
 >typeset -a array=( '' two '' four )
 >typeset -a array=( one '' three )
 >no really nothing here
+
+  readonly isreadonly=yes
+  typeset isreadonly=still
+1:typeset returns status 1 if setting readonly variable
+?(eval):2: read-only variable: isreadonly