From 6ea2dab092feb373c13a4dda85bc0d399978975a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sat, 19 May 2001 23:47:58 +0000 Subject: Fix, test and comment unsetting and resetting of special tied parameters --- Test/D04parameter.ztst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'Test') 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 -- cgit 1.4.1