mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-14 20:56:59 +08:00
Remove the unneeded escaping of '[' and ']' characters in test_class_help
As these characters don't need to be escaped for strings wrapped inside {} braces, we can remove the unneeded backslashes. gdb/testsuite/ChangeLog: * lib/gdb.exp (test_class_help): Remove the unneeded escaping of '[' and ']' characters.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
|
||||||
|
|
||||||
|
* lib/gdb.exp (test_class_help): Remove the unneeded escaping of
|
||||||
|
'[' and ']' characters.
|
||||||
|
|
||||||
2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
|
2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
|
||||||
|
|
||||||
* gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
|
* gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
|
||||||
|
@ -4694,11 +4694,13 @@ proc help_test_raw { gdb_command expected_lines args } {
|
|||||||
# are regular expressions that should match the beginning of output,
|
# are regular expressions that should match the beginning of output,
|
||||||
# before the list of commands in that class. The presence of
|
# before the list of commands in that class. The presence of
|
||||||
# command list and standard epilogue will be tested automatically.
|
# command list and standard epilogue will be tested automatically.
|
||||||
|
# Notice that the '[' and ']' characters don't need to be escaped for strings
|
||||||
|
# wrapped in {} braces.
|
||||||
proc test_class_help { command_class expected_initial_lines args } {
|
proc test_class_help { command_class expected_initial_lines args } {
|
||||||
set l_stock_body {
|
set l_stock_body {
|
||||||
"List of commands\:.*\[\r\n\]+"
|
"List of commands\:.*[\r\n]+"
|
||||||
"Type \"help\" followed by command name for full documentation\.\[\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\]+"
|
"Type \"apropos word\" to search for commands related to \"word\"\.[\r\n]+"
|
||||||
"Command name abbreviations are allowed if unambiguous\."
|
"Command name abbreviations are allowed if unambiguous\."
|
||||||
}
|
}
|
||||||
set l_entire_body [concat $expected_initial_lines $l_stock_body]
|
set l_entire_body [concat $expected_initial_lines $l_stock_body]
|
||||||
|
Reference in New Issue
Block a user