aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/maint.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/maint.exp')
-rw-r--r--gdb/testsuite/gdb.cp/maint.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.cp/maint.exp b/gdb/testsuite/gdb.cp/maint.exp
index 59dccfb..36a48e5 100644
--- a/gdb/testsuite/gdb.cp/maint.exp
+++ b/gdb/testsuite/gdb.cp/maint.exp
@@ -21,8 +21,8 @@
# Test the help messages.
proc test_help {} {
- set first_component_help "Print the first class/namespace component of NAME"
- set namespace_help "Deprecated placeholder for removed functionality."
+ set first_component_help "Print the first class/namespace component of NAME\\."
+ set namespace_help "Deprecated placeholder for removed functionality\\."
test_prefix_command_help {"maintenance cplus"} {
"C\\+\\+ maintenance commands\.\[\r\n\]+"
@@ -36,8 +36,8 @@ proc test_help {} {
gdb_test "maint cp" $multiple_help_body
- gdb_test "help maint cp first_component" "${first_component_help}."
- gdb_test "help maint cp namespace" "${namespace_help}."
+ gdb_test "help maint cp first_component" "${first_component_help}"
+ gdb_test "help maint cp namespace" "${namespace_help}"
}
# This is used when NAME should contain only a single component. Be