* gdb.base/help.exp: Adjust "help unset" test to accept

any list of unset commands.
This commit is contained in:
Joel Brobecker 2006-07-14 22:53:19 +00:00
parent c2f0420ed7
commit 85b4c6e892
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-07-14 Joel Brobecker <brobecker@adacore.com>
* gdb.base/help.exp: Adjust "help unset" test to accept
any list of unset commands.
2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
Daniel Jacobowitz <dan@codesourcery.com>

View File

@ -572,7 +572,7 @@ gdb_test "help undisplay" "Cancel some expressions to be displayed when program
# test help unset environment
gdb_test "help unset environment" "Cancel environment variable VAR for the program\.\[\r\n\]+This does not affect the program until the next \"run\" command\." "help unset environment"
# test help unset
gdb_test "help unset" "Complement to certain \"set\" commands\.\[\r\n\]+List of unset subcommands:\[\r\n\]+unset environment -- Cancel environment variable VAR for the program\[\r\n\]+Type \"help unset\" followed by unset subcommand name for full documentation\.\[\r\n\]+Command name abbreviations are allowed if unambiguous\." "help unset"
gdb_test "help unset" "Complement to certain \"set\" commands\.\[\r\n\]+List of unset subcommands:\[\r\n\]+.*Type \"help unset\" followed by unset subcommand name for full documentation\.\[\r\n\]+Command name abbreviations are allowed if unambiguous\." "help unset"
# test help up
gdb_test "help up" "Select and print stack frame that called this one\.\[\r\n\]+An argument says how many frames up to go\." "help up"
# test help up-silently