about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Test/D03procsubst.ztst8
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 418d922ca..c97657e93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-07-23  Peter Stephenson  <p.stephenson@samsung.com>
 
+	* 35873: Test/D03procsubst.ztst: add original test from 35847:
+
 	* 35872: Src/utils.c: protect against NULL pointers in unmeta().
 
 	* 35849: Src/exec.c, Src/jobs.c, Test/D03procsubst.ztst: close
diff --git a/Test/D03procsubst.ztst b/Test/D03procsubst.ztst
index 9ab67c2b4..ca8d56ff5 100644
--- a/Test/D03procsubst.ztst
+++ b/Test/D03procsubst.ztst
@@ -141,3 +141,11 @@
 0:proc subst fd in forked subshell closed in parent
 >1
 >1
+
+  if [[ ! -e test_pipe ]]; then
+    ZTST_skip="mkfifo not available"
+  else
+    echo 1 | tee >(cat > test_pipe) | paste - test_pipe
+  fi
+0:proc subst fd in forked subshell closed in parent (external command)
+>1	1