about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-07-23 10:08:19 +0100
committerPeter Stephenson <pws@zsh.org>2015-07-23 10:08:19 +0100
commit53fe58a27825c0eaa95a9aa459650baa69c55aa2 (patch)
tree4f8f7c0888668f43aebc92ef71e54c4298ef7b6d /Test
parentbbd4cae6ad3dc52702e61397cbab9197e55b21b5 (diff)
downloadzsh-53fe58a27825c0eaa95a9aa459650baa69c55aa2.tar.gz
zsh-53fe58a27825c0eaa95a9aa459650baa69c55aa2.tar.xz
zsh-53fe58a27825c0eaa95a9aa459650baa69c55aa2.zip
35873: add original test for process substitution deadlock from 35847
Diffstat (limited to 'Test')
-rw-r--r--Test/D03procsubst.ztst8
1 files changed, 8 insertions, 0 deletions
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