From 158484941ac1ff20ce93e4aff46fef6cd22dbf91 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Wed, 25 Mar 2015 09:57:23 -0700 Subject: 34774: fix %prep and use read from a no-op pipe to force wait for the timeout --- Test/comptest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Test/comptest') diff --git a/Test/comptest b/Test/comptest index ef8421755..20a3a5b1d 100644 --- a/Test/comptest +++ b/Test/comptest @@ -164,7 +164,7 @@ zletest () { for input; do # zpty_flush Before zletest # sleep for $KEYTIMEOUT - (( first++ )) && read -t 0.011 -u 0 -k 1 < /dev/null + (( first++ )) && { sleep 2 & } | read -t 0.011 -u 0 -k 1 zpty -n -w zsh "$input" done zpty -n -w zsh $'\C-X' -- cgit 1.4.1