This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Testsuite: Don't use global command in gdb_expect
- From: Andreas Schwab <schwab at suse dot de>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Jie Zhang <jie dot zhang at analog dot com>, gdb-patches at sourceware dot org
- Date: Mon, 15 Dec 2008 09:50:10 +0100
- Subject: Re: Testsuite: Don't use global command in gdb_expect
- References: <4945F3EF.6050004@analog.com> <20081215075228.GK6866@adacore.com>
Joel Brobecker <brobecker@adacore.com> 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."