mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
gdb/testsuite: Remove duplicates from gdb.base/define-prefix.exp
When running the testsuite, I have: Running .../gdb/testsuite/gdb.base/define-prefix.exp ... DUPLICATE: gdb.base/define-prefix.exp: define user command: ghi-prefix-cmd Fix by adjusting test names. Tested on x86_64-linux.
This commit is contained in:
@ -58,7 +58,7 @@ gdb_test_multiple "define abc-prefix def-prefix ghi-prefix-cmd" \
|
|||||||
"define user command: abc-prefix def-prefix ghi-prefix-cmd" {
|
"define user command: abc-prefix def-prefix ghi-prefix-cmd" {
|
||||||
-re "Type commands for definition of \"abc-prefix def-prefix ghi-prefix-cmd\".\r\nEnd with a line saying just \"end\".\r\n>$" {
|
-re "Type commands for definition of \"abc-prefix def-prefix ghi-prefix-cmd\".\r\nEnd with a line saying just \"end\".\r\n>$" {
|
||||||
gdb_test "end" "" \
|
gdb_test "end" "" \
|
||||||
"define user command: ghi-prefix-cmd"
|
"define empty user command: ghi-prefix-cmd"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
gdb_test_no_output "define-prefix abc-prefix def-prefix ghi-prefix-cmd"
|
gdb_test_no_output "define-prefix abc-prefix def-prefix ghi-prefix-cmd"
|
||||||
|
Reference in New Issue
Block a user