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

Marek Polacek
2011-05-03T18:05:07Z

On 05/03/2011 07:50 PM, Pedro Alves wrote:
> You're assuming I already knew the fail was of "interactive prompt"
> kind. :-) I didn't, but I now ran the test and see the failure. Seeing
> this also helps review:
>
> FAIL: gdb.base/pr10179.exp: delete breakpoints (got interactive prompt)
> FAIL: gdb.base/pr10179.exp: rbreak pr10179-a.c:foo.*
> FAIL: gdb.base/pr10179.exp: rbreak pr10179-a.c : .* (got interactive prompt)
>
> Knowing all this, your original patch was indeed trivial.

Yeah, I should have shown this before. Next time, I will.

> Okay, thanks, this is even better.

Applied: http://sourceware.org/ml/gdb-cvs/2011-05/msg00019.html

Thank you.

Marek