diff options
author | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2019-06-03 21:50:22 +0200 |
---|---|---|
committer | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2019-06-03 21:59:35 +0200 |
commit | 206584bdf15aa19bb3c971b28e2c1fc04f32d027 (patch) | |
tree | 81236031111474486173150fdd44bbea572008ec /gdb/testsuite/gdb.python | |
parent | 66d8c862859ab241c1db9b40c3981f8a71951bd4 (diff) | |
download | gdb-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.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-cmd.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-cmd.exp b/gdb/testsuite/gdb.python/py-cmd.exp index 9abdb0f..c7c7b8c 100644 --- a/gdb/testsuite/gdb.python/py-cmd.exp +++ b/gdb/testsuite/gdb.python/py-cmd.exp @@ -159,7 +159,7 @@ gdb_py_test_multiple "input simple user-defined command" \ gdb_test "test_help ugh" "test_cmd output, arg = ugh" "call simple user-defined command" # Make sure the command shows up in `help user-defined`. -gdb_test "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\]+\[\r\n\]+List of commands:\[\r\n\]+\[\r\n\]+test_help -- Docstring\[\r\n\]+\[\r\n\]+Type \"help\" followed by command name for full documentation.\[\r\n\]+Type \"apropos word\" to search for commands related to \"word\".\[\r\n\]+Command name abbreviations are allowed if unambiguous.\[\r\n\]+" "see user-defined command in `help user-defined`" +test_user_defined_class_help {"test_help -- Docstring[\r\n]"} # Make sure the command does not show up in `show user`. gdb_test "show user test_help" "Not a user command\." \ |