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/RFC/testsuite] Adjust "help unset" test


Hello,

:ADDPATCH testsuite:

While working on adding the "substitute-path" set of commands,
I noticed that the addition made one test fail because the output
of "help unset" now contains a new entry in the list of available
unset commands.

I am not sure we are trying to verify the exact output of this
command, and hence the output for each and every available unset
command. It seems to me that it's good enough to verify the start
and end of the output which should not change after new unset
commands are added. It's a bit similar to what we do when we test
the "help set"...

So I simply modified the expected output to accept any list of
unset commands inside the help text. Of course, if others disagree,
I am happy to just add the help of my new command.

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

        * gdb.base/help.exp: Adjust "help unset" test to accept
        any list of unset commands.

Tested on x86-linux. OK to apply?

Thanks,
-- 
Joel

Attachment: help.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]