1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-29 16:25:35 +01: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

@ -1,5 +1,8 @@
2014-08-15 Barton E. Schaefer <schaefer@zsh.org>
* unposted (see 33006): Test/A05execution.ztst: timeout the final
"read" in hung shell regression
* 33012: Src/utils.c: add an error return value (-1) to xsymlinks()
to differentiate when xbuf is set to the empty string; silences
bogus warning about failed expansion

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