about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-02-21 11:32:47 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-02-21 11:32:47 +0000
commit73ebca4fe92767665422e7fd5dc15032add389b4 (patch)
tree940334b89637f87be9fd71d3920481842a7ba1c0 /Test
parent0e792b944707fdb8abafa4b4e3f3952154189c6f (diff)
downloadzsh-73ebca4fe92767665422e7fd5dc15032add389b4.tar.gz
zsh-73ebca4fe92767665422e7fd5dc15032add389b4.tar.xz
zsh-73ebca4fe92767665422e7fd5dc15032add389b4.zip
28783: allow parentheses to be special in more places with SH_GLOB
Diffstat (limited to 'Test')
-rw-r--r--Test/A01grammar.ztst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index c8bf91cff..decab32b8 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -577,3 +577,15 @@
 0:$0 is traditionally if bizarrely set to the first argument with -c
 >myargzero
 >myargone
+
+  (setopt shglob
+  eval '
+  if ! (echo success1); then echo failure1; fi
+  if !(echo success2); then echo failure2; fi
+  print -l one two | while(read foo)do(print read it)done
+  ')
+0:Parentheses in shglob
+>success1
+>success2
+>read it
+>read it