From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15802 invoked by alias); 30 Dec 2007 04:32:11 -0000 Received: (qmail 15794 invoked by uid 22791); 30 Dec 2007 04:32:10 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 30 Dec 2007 04:32:04 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id DBC6A98018; Sun, 30 Dec 2007 04:32:02 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id BD55898017; Sun, 30 Dec 2007 04:32:02 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1J8pqD-0006Jv-Cy; Sat, 29 Dec 2007 23:32:01 -0500 Date: Sun, 30 Dec 2007 04:34:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: gdb-patches@sourceware.org Subject: Re: RFA: Fix multi-fork.exp for good Message-ID: <20071230043201.GA24220@caradoc.them.org> Mail-Followup-To: Jim Blandy , gdb-patches@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00473.txt.bz2 On Sat, Dec 29, 2007 at 04:59:38AM -0800, Jim Blandy wrote: > Or at least, I hope so. I was getting occasional timeouts from > interactions after the follow-parent tests on loaded machines. Set a > few windows doing 'while true; do :; done' and give it a try. Thanks. I saw this behavior too; your patch looks good to me. > + # We don't know what order the interesting things will arrive in. > + # Using a pattern of the form 'x|y|z' instead of -re x ... -re y > + # ... -re z ensures that expect always chooses the match that > + # occurs leftmost in the input, and not the pattern appearing > + # first in the script that occurs anywhere in the input, so that > + # we don't skip anything. Cute trick! -- Daniel Jacobowitz CodeSourcery