[1/2] gdb: Make testnames unique in gdb.base/commands.exp
Commit Message
gdb/testsuite/ChangeLog:
* gdb.base/commands.exp (user_defined_command_case_sensitivity):
Make test names unique.
---
gdb/testsuite/ChangeLog | 5 +++++
gdb/testsuite/gdb.base/commands.exp | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
Comments
>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:
Andrew> gdb/testsuite/ChangeLog:
Andrew> * gdb.base/commands.exp (user_defined_command_case_sensitivity):
Andrew> Make test names unique.
This one is obsolete now due to
commit ead9aa39bfc80007336bc96c6374df7f79341485
Author: Philippe Waroquiers <philippe.waroquiers@skynet.be>
Date: Thu Aug 2 23:15:23 2018 +0200
Modify gdb.base/commands.exp to test multi breakpoints command clearing.
Tom
@@ -368,8 +368,8 @@ proc_with_prefix user_defined_command_case_sensitivity {} {
gdb_test "print 456\nend" "" "enter commands 2"
- gdb_test "Homer-Simpson" " = 123" "execute command"
- gdb_test "HomeR-SimpsoN" " = 456" "execute command"
+ gdb_test "Homer-Simpson" " = 123" "execute first command"
+ gdb_test "HomeR-SimpsoN" " = 456" "execute second command"
gdb_test "HOMER-SIMPSON" "Undefined command.*" "try to call in upper case"
gdb_test "homer-simpson" "Undefined command.*" "try to call in lower case"
}