about summary refs log tree commit diff
path: root/Test/D03procsubst.ztst
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2005-04-14 04:41:25 +0000
committerBart Schaefer <barts@users.sourceforge.net>2005-04-14 04:41:25 +0000
commit24c329275a1620accf3121cdc9c53daf9bd606bd (patch)
tree6e3e7188d474e7d1a56f4b5a0d25dc3bcae1531f /Test/D03procsubst.ztst
parentad95e2e27981a2beb1a032d8487b3b54fe0af4b8 (diff)
downloadzsh-24c329275a1620accf3121cdc9c53daf9bd606bd.tar.gz
zsh-24c329275a1620accf3121cdc9c53daf9bd606bd.tar.xz
zsh-24c329275a1620accf3121cdc9c53daf9bd606bd.zip
Belated commit of 21064: test case for 21049
Diffstat (limited to 'Test/D03procsubst.ztst')
-rw-r--r--Test/D03procsubst.ztst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/D03procsubst.ztst b/Test/D03procsubst.ztst
index 633235eb5..e176d8934 100644
--- a/Test/D03procsubst.ztst
+++ b/Test/D03procsubst.ztst
@@ -12,6 +12,8 @@
     true
   fi
 
+  function copycat { cat "$@" }
+
 %test
   paste <(cut -f1 FILE1) <(cut -f3 FILE2)
 0:<(...) substitution
@@ -29,3 +31,8 @@
 >< First	Second	Third	Fourth
 >---
 >> Erste	Zweite	Dritte	Vierte
+
+  copycat <(print First) <(print Zweite)
+0:FDs remain open for external commands called from functions
+>First
+>Zweite