about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-04-09 15:40:13 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-04-09 15:40:13 +0000
commite2d855f3644064cd4e17b84d08f03a5740b5bae5 (patch)
tree3fe49b40967850721afdd8a350b43db073a6a4b0 /Test
parent27c1ca8628b03943768c8d9ebfdac1a46ec41374 (diff)
downloadzsh-e2d855f3644064cd4e17b84d08f03a5740b5bae5.tar.gz
zsh-e2d855f3644064cd4e17b84d08f03a5740b5bae5.tar.xz
zsh-e2d855f3644064cd4e17b84d08f03a5740b5bae5.zip
27865: fix problem with glob_subst in parameter subsitution
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index d43e60efa..1035fd49b 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -221,6 +221,16 @@
 >\\foo matched by \\*\\
 >a\\b not matched by \\*\\
 
+  (
+    setopt globsubst
+    foo="boring*"
+    print ${foo+$foo}
+    print ${foo+"$foo"}
+  )
+0:globsubst together with nested quoted expansion
+>boringfile
+>boring*
+
   print -l "${$(print one word)}" "${=$(print two words)}"
 0:splitting of $(...) inside ${...}
 >one word