about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-05-19 23:47:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-05-19 23:47:58 +0000
commit6ea2dab092feb373c13a4dda85bc0d399978975a (patch)
treeecfe95f3bb44e53849d3519f81b95ecaa80b13fc /Test
parentfbe51d3ee974988aa1f2ffcba748918b1845fb65 (diff)
downloadzsh-6ea2dab092feb373c13a4dda85bc0d399978975a.tar.gz
zsh-6ea2dab092feb373c13a4dda85bc0d399978975a.tar.xz
zsh-6ea2dab092feb373c13a4dda85bc0d399978975a.zip
Fix, test and comment unsetting and resetting of special tied parameters
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst20
1 files changed, 20 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index 7304f31d7..3bb143a33 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -526,3 +526,23 @@
 >fixed
 >the
 >shell
+
+  unset SHLVL
+  (( SHLVL++ ))
+  print $SHLVL
+0:Unsetting and recreation of numerical special parameters
+>1
+
+  unset manpath
+  print $+MANPATH
+  manpath=(/here /there)
+  print $MANPATH
+  unset MANPATH
+  print $+manpath
+  MANPATH=/elsewhere:/somewhere
+  print $manpath
+0:Unsetting and recreation of tied special parameters
+>0
+>/here:/there
+>0
+>/elsewhere /somewhere