[RFA] gdb_expect -> gdb_test_multiple for filesym.exp
Pedro Alves
palves@redhat.com
Thu May 16 18:59:00 GMT 2013
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
More information about the Gdb-patches
mailing list