From 53fe58a27825c0eaa95a9aa459650baa69c55aa2 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 23 Jul 2015 10:08:19 +0100 Subject: 35873: add original test for process substitution deadlock from 35847 --- Test/D03procsubst.ztst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Test') 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 -- cgit 1.4.1