about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorAndrew Waldron <a.a.w@gmx.us>2014-04-18 07:30:36 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-04-18 07:30:36 -0700
commit8189e12312ede991827efc6683b7ce8463deb0bf (patch)
tree04d1a5c5a2ebc37edf87158fbc4d983578cbc0ed /Test
parentd9935915b73082c70d543ea098ecea9e95068659 (diff)
downloadzsh-8189e12312ede991827efc6683b7ce8463deb0bf.tar.gz
zsh-8189e12312ede991827efc6683b7ce8463deb0bf.tar.xz
zsh-8189e12312ede991827efc6683b7ce8463deb0bf.zip
32552 (updated by 32560): fix segfault when using process substitution in anonymous function argument list
Also disallow process substitution in function name position.
Diffstat (limited to 'Test')
-rw-r--r--Test/C04funcdef.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst
index 706aa28c2..a2660315f 100644
--- a/Test/C04funcdef.ztst
+++ b/Test/C04funcdef.ztst
@@ -208,6 +208,11 @@
 >Da de da
 >Do be do
 
+  () (cat $1 $2) <(print process expanded) =(print expanded to file)
+0:Process substitution with anonymous functions
+>process expanded
+>expanded to file
+
   () { print This has arguments $*; } of all sorts; print After the function
   function { print More stuff $*; } and why not; print Yet more
 0:Anonymous function with arguments