Re: [PATCH] gdb.base/setshow.exp: fix racy tests (PR testsuite/12649)

Andreas Schwab
2011-04-19T10:19:17Z

Marek Polacek <mpolacek@redhat.com> writes:

> On 04/18/2011 10:45 PM, Tom Tromey wrote:
>> 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.
>
> It is needed.

The backslashes are removed when the prompt is expanded by readline, so
the output should be identical.

Andreas.

--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."