diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-12-21 17:41:21 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2013-12-21 17:41:21 -0800 |
commit | aede5c52bf557f89d1d09fa5430186af6e295241 (patch) | |
tree | 69cc4ddf97f2a93b10312e94698eedfc6f501aa5 /Test | |
parent | 634c03c76d15c0aafa945feb5e80a50738e496c3 (diff) | |
download | zsh-aede5c52bf557f89d1d09fa5430186af6e295241.tar.gz zsh-aede5c52bf557f89d1d09fa5430186af6e295241.tar.xz zsh-aede5c52bf557f89d1d09fa5430186af6e295241.zip |
32176: plug additional deadlock-inducing pipe descriptor leaks
Diffstat (limited to 'Test')
-rw-r--r-- | Test/A05execution.ztst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst index 61d24fe1e..6abfd8b1f 100644 --- a/Test/A05execution.ztst +++ b/Test/A05execution.ztst @@ -207,10 +207,12 @@ F:This similar test was triggering a reproducible failure with pipestatus. coproc { read -Et 5 || kill -INT $$ } print -u $ZTST_fd 'This test takes 5 seconds to fail...' { printf "%d\n" {1..20000} } | ( read -E ) + hang(){ printf "%d\n" {2..20000} | cat }; hang | ( read -E ) print -p done read -Ep 0:Bug regression: piping a shell construct to an external process may hang >1 +>2 >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 |