mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 04:30:27 +01:00
32172: regression test for 32171
This commit is contained in:
parent
9887fc3d7b
commit
21be065ddf
2 changed files with 14 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2013-12-20 Barton E. Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 32172; Test/A05execution.ztst: regression test for 32171
|
||||
|
||||
* 32171: Src/exec.c: fix leaked pipe descriptor that could
|
||||
deadlock a pipeline from a complex shell construct or function
|
||||
into an external command
|
||||
|
|
|
|||
|
|
@ -202,3 +202,15 @@ F:the bug is still there or it reappeared. See workers-29973 for details.
|
|||
0:Check $pipestatus with a known difficult case
|
||||
>1 0 1 0 0
|
||||
F:This similar test was triggering a reproducible failure with pipestatus.
|
||||
|
||||
{ unsetopt MONITOR } 2>/dev/null
|
||||
coproc { read -Et 5 || kill -INT $$ }
|
||||
print -u $ZTST_fd 'This test takes 5 seconds to fail...'
|
||||
{ printf "%d\n" {1..20000} } | ( read -E )
|
||||
print -p done
|
||||
read -Ep
|
||||
0:Bug regression: piping a shell construct to an external process may hang
|
||||
>1
|
||||
>done
|
||||
F:This test checks for a file descriptor leak that could cause the left
|
||||
F:side of a pipe to block on write after the right side has exited
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue