This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]