From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26036 invoked by alias); 15 Dec 2008 08:50:55 -0000 Received: (qmail 26005 invoked by uid 22791); 15 Dec 2008 08:50:55 -0000 X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 15 Dec 2008 08:50:13 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 0CB84464D8; Mon, 15 Dec 2008 09:50:11 +0100 (CET) From: Andreas Schwab To: Joel Brobecker Cc: Jie Zhang , gdb-patches@sourceware.org Subject: Re: Testsuite: Don't use global command in gdb_expect References: <4945F3EF.6050004@analog.com> <20081215075228.GK6866@adacore.com> X-Yow: A dwarf is passing out somewhere in Detroit! Date: Mon, 15 Dec 2008 08:50:00 -0000 In-Reply-To: <20081215075228.GK6866@adacore.com> (Joel Brobecker's message of "Mon, 15 Dec 2008 11:52:28 +0400") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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: 2008-12/txt/msg00272.txt.bz2 Joel Brobecker writes: > I'm wondering how this is happening, though. I presume that the test > was working when the testcase was added by the original author... > It's working for me too, actually. Probably because you were lucky enough to test it against output that does not contain a match for "global". Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."