From: Joel Brobecker Date: Fri, 14 Jul 2006 22:53:19 +0000 (+0000) Subject: * gdb.base/help.exp: Adjust "help unset" test to accept X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85b4c6e892d4d8fa8361587e98bfe03e5596f6c8;p=binutils-gdb.git * gdb.base/help.exp: Adjust "help unset" test to accept any list of unset commands. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d811e0ebfd2..792e05af17f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-07-14 Joel Brobecker + + * gdb.base/help.exp: Adjust "help unset" test to accept + any list of unset commands. + 2006-07-13 Paul N. Hilfinger Daniel Jacobowitz diff --git a/gdb/testsuite/gdb.base/help.exp b/gdb/testsuite/gdb.base/help.exp index 8312458538f..74d3f1ad7e9 100644 --- a/gdb/testsuite/gdb.base/help.exp +++ b/gdb/testsuite/gdb.base/help.exp @@ -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