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]

[RFA/testsuite] test "d" as alias of "delete"


Hello,

This is a followup to a suggestion made in:

        http://sources.redhat.com/ml/gdb-patches/2006-05/msg00100.html

Namely, add an extra check to verify that "d" is also a valid alias
of "delete".

The attached patch factorizes the initial check into a function, and
I call this new function with the various aliases of the "delete"
command we want to check (for now "del" and "d").

2006-05-05  Joel Brobecker  <brobecker@adacore.com>

        * gdb.base/del.exp (test_delete_alias): New function.
        Now check that both "del" and "d" work as aliases for "delete".

Tested on x86-linux. All passes.
OK to apply?

Thanks,
-- 
Joel

Attachment: del.exp.diff
Description: Text document


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