about summary refs log tree commit diff
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
parentad95e2e27981a2beb1a032d8487b3b54fe0af4b8 (diff)
downloadzsh-24c329275a1620accf3121cdc9c53daf9bd606bd.tar.gz
zsh-24c329275a1620accf3121cdc9c53daf9bd606bd.tar.xz
zsh-24c329275a1620accf3121cdc9c53daf9bd606bd.zip
Belated commit of 21064: test case for 21049
-rw-r--r--ChangeLog4
-rw-r--r--Test/D03procsubst.ztst7
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c75c632b4..9c24ed7c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-13  Bart Schaefer  <schaefer@zsh.org>
+
+	* 21064: Test/D03procsubst.ztst: test case for 21049.
+
 2005-04-13  Peter Stephenson  <pws@csr.com>
 
 	* 21136: Test/C03traps.ztst: don't leave TRAPEXIT file lying
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