mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
timeout the final "read" in hung shell regression
This commit is contained in:
parent
47d91c5fba
commit
a3651e1205
2 changed files with 4 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ F:This similar test was triggering a reproducible failure with pipestatus.
|
|||
{ printf "%d\n" {1..20000} } | ( read -E )
|
||||
hang(){ printf "%d\n" {2..20000} | cat }; hang | ( read -E )
|
||||
print -p done
|
||||
read -Ep
|
||||
read -Et 6 -p
|
||||
0:Bug regression: piping a shell construct to an external process may hang
|
||||
>1
|
||||
>2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue