From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28964 invoked by alias); 14 Aug 2014 16:25:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33006 Received: (qmail 22855 invoked from network); 14 Aug 2014 16:25:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140814092527.ZM18021@torch.brasslantern.com> Date: Thu, 14 Aug 2014 09:25:27 -0700 In-reply-to: <20140814095002.1d8949c5@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: zsh 5.0.5-dev-2 / Occassional hangs on Test/A05execution.ztst" (Aug 14, 9:50am) References: <20140812212920.67dcb116@pws-pc.ntlworld.com> <20140812223637.GS6176@sym.noone.org> <20140813140401.GX6176@sym.noone.org> <20140814095002.1d8949c5@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh hackers list Subject: Re: zsh 5.0.5-dev-2 / Occassional hangs on Test/A05execution.ztst MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Aug 14, 9:50am, Peter Stephenson wrote: } } Those tests make quite nasty timing assumptions. I'd definitely be } inclined to suspect the test rather than the shell. It is true that the test assumes ( printf "%d\n" {2..20000} ) will take less than 5 seconds, but that should cause the test to report failure rather than to hang. ( coproc { read -Et 5 || kill -INT $$ } ) ought to send the signal in 5 seconds regardless of what else is happening, so the question is why is that signal either not being sent or being ignored? I guess my first inclination would be to change the final "read -Ep" to "read -Et 6 -p" just in case it's that step that's hanging.