aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/help.exp
diff options
context:
space:
mode:
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-06-03 21:50:22 +0200
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-06-03 21:59:35 +0200
commit206584bdf15aa19bb3c971b28e2c1fc04f32d027 (patch)
tree81236031111474486173150fdd44bbea572008ec /gdb/testsuite/gdb.base/help.exp
parent66d8c862859ab241c1db9b40c3981f8a71951bd4 (diff)
downloadgdb-206584bdf15aa19bb3c971b28e2c1fc04f32d027.zip
gdb-206584bdf15aa19bb3c971b28e2c1fc04f32d027.tar.gz
gdb-206584bdf15aa19bb3c971b28e2c1fc04f32d027.tar.bz2
Update tests following changes to "help" and "apropos"
Factorizes the testing of the help output, by having a single place that defines the common help trailer and/or prefix messages.
Diffstat (limited to 'gdb/testsuite/gdb.base/help.exp')
-rw-r--r--gdb/testsuite/gdb.base/help.exp7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/help.exp b/gdb/testsuite/gdb.base/help.exp
index 511e7d6..e65f7c8 100644
--- a/gdb/testsuite/gdb.base/help.exp
+++ b/gdb/testsuite/gdb.base/help.exp
@@ -51,11 +51,8 @@ test_class_help "support" {"Support facilities\.\[\r\n\]+"}
test_class_help "tracepoints" {
"Tracing of program execution without stopping the program\.\[\r\n\]+"
}
-test_class_help "user-defined" {
- "User-defined commands\.\[\r\n\]+"
- "The commands in this class are those defined by the user\.\[\r\n\]+"
- "Use the \"define\" command to define a command\.\[\r\n\]+"
-}
+
+test_user_defined_class_help
# Test help of an abbreviated command. "break" is picked at random.
set help_breakpoint_text "Set breakpoint at specified location\..*"