1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-29 16:25:35 +01:00

35873: add original test for process substitution deadlock from 35847

This commit is contained in:
Peter Stephenson 2015-07-23 10:08:19 +01:00
parent bbd4cae6ad
commit 53fe58a278
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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