about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-08-31 19:32:56 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-08-31 19:32:56 +0000
commit8bc64084a46c79be5659ef42c746a3b806816c7f (patch)
tree6276b954f096a73655ba746dfc3367b6534dca6f /Test
parentafc3a7c41201ee5c6ffddb17ebe9db616f2919a1 (diff)
downloadzsh-8bc64084a46c79be5659ef42c746a3b806816c7f.tar.gz
zsh-8bc64084a46c79be5659ef42c746a3b806816c7f.tar.xz
zsh-8bc64084a46c79be5659ef42c746a3b806816c7f.zip
28220 plus some comments: fix "HELLO=$HELLO shellfunc"
Diffstat (limited to 'Test')
-rw-r--r--Test/A06assign.ztst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/A06assign.ztst b/Test/A06assign.ztst
index bbed909c5..44c8e3193 100644
--- a/Test/A06assign.ztst
+++ b/Test/A06assign.ztst
@@ -277,3 +277,18 @@
 >
 >
 >
+
+  call() { print $HELLO; }
+  export HELLO=world
+  call
+  HELLO=universe call
+  call
+  HELLO=${HELLO}liness call
+  call
+  unset HELLO
+0:save and restore when using original value in temporary
+>world
+>universe
+>world
+>worldliness
+>world