about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-08-15 10:24:09 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-08-15 10:24:09 -0700
commita3651e120527a641d98ce4e9316c05e1d157f92c (patch)
tree5664f467f25dafff0c0bc4e97760d3b7a15edae6
parent47d91c5fba6bc90d79503b7c69c6146abb8825f5 (diff)
downloadzsh-a3651e120527a641d98ce4e9316c05e1d157f92c.tar.gz
zsh-a3651e120527a641d98ce4e9316c05e1d157f92c.tar.xz
zsh-a3651e120527a641d98ce4e9316c05e1d157f92c.zip
timeout the final "read" in hung shell regression
-rw-r--r--ChangeLog3
-rw-r--r--Test/A05execution.ztst2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index aa08a26a2..96a51574f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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