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: [RFA] gdb_expect -> gdb_test_multiple for filesym.exp


On 05/16/2013 07:00 PM, Keith Seitz wrote:

> Ok?

Fine with me.

> testsuite/ChangeLog
> 2013-05-16  Keith Seitz  <keiths@redhat.com>
> 
>     * gdb.base/filesym.exp: Use gdb_test_multiple insteadc of
>     gdb_expect.

Typo "instead".

> +set tst "complete on \"filesy\""
>  send_gdb "break filesy\t"
> -gdb_expect {
> -     -re "m\$" {
> -    pass "complete on \"filesy\""
> +gdb_test_multiple "" $tst {
> +    -re "m\$" {
> +    pass $tst

Is indentation ok here?  Hard to tell from the diff.

> +unset -nocomplain tst

Curious.  Did you trip on another test getting confused with 'tst'
left set?

Thanks,
-- 
Pedro Alves


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