From a3651e120527a641d98ce4e9316c05e1d157f92c Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Fri, 15 Aug 2014 10:24:09 -0700 Subject: timeout the final "read" in hung shell regression --- ChangeLog | 3 +++ Test/A05execution.ztst | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index aa08a26a2..96a51574f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2014-08-15 Barton E. Schaefer + * 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 diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst index 6abfd8b1f..9615f091b 100644 --- a/Test/A05execution.ztst +++ b/Test/A05execution.ztst @@ -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 -- cgit 1.4.1