From 85b4c6e892d4d8fa8361587e98bfe03e5596f6c8 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 14 Jul 2006 22:53:19 +0000 Subject: [PATCH] * gdb.base/help.exp: Adjust "help unset" test to accept any list of unset commands. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/help.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2