This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb.base/setshow.exp: fix racy tests (PR testsuite/12649)
- From: Tom Tromey <tromey at redhat dot com>
- To: Marek Polacek <mpolacek at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 18 Apr 2011 14:45:49 -0600
- Subject: Re: [PATCH] gdb.base/setshow.exp: fix racy tests (PR testsuite/12649)
- References: <4DAC6924.2000100@redhat.com>
>>>>> "Marek" == Marek Polacek <mpolacek@redhat.com> writes:
Marek> It took some time, but I've fixed all racy cases by using
Marek> {,old_}gdb_prompt variable. Also it was needed to escape "(gdb)
Marek> " prompt properly. Ok to apply?
This seems ok, but...
Marek> - gdb_test_multiple "set prompt (gdb) " "set prompt gdb" {
Marek> + gdb_test_multiple "set prompt \\(gdb\\) " "set prompt gdb" {
I think this should not be needed.
Tom