1
0
Fork 0
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:
Barton E. Schaefer 2014-08-15 10:24:09 -07:00
parent 47d91c5fba
commit a3651e1205
2 changed files with 4 additions and 1 deletions

View file

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