public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb/testsuite: Remove duplicates from gdb.base/define-prefix.exp
@ 2022-01-07 22:46 Lancelot SIX
0 siblings, 0 replies; only message in thread
From: Lancelot SIX @ 2022-01-07 22:46 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bcce3429ffd3fbd2f425b0e5a3201918f3adec5f
commit bcce3429ffd3fbd2f425b0e5a3201918f3adec5f
Author: Lancelot SIX <lsix@lancelotsix.com>
Date: Sun Nov 21 01:45:21 2021 +0000
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.
Diff:
---
gdb/testsuite/gdb.base/define-prefix.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.base/define-prefix.exp b/gdb/testsuite/gdb.base/define-prefix.exp
index 18e5651bfb6..47e0a17b8c6 100644
--- a/gdb/testsuite/gdb.base/define-prefix.exp
+++ b/gdb/testsuite/gdb.base/define-prefix.exp
@@ -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" {
-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" "" \
- "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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-07 22:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 22:46 [binutils-gdb] gdb/testsuite: Remove duplicates from gdb.base/define-prefix.exp Lancelot SIX
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).