public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb/testsuite: Remove duplicates from gdb.base/readline.exp
@ 2022-01-07 22:45 Lancelot SIX
  0 siblings, 0 replies; only message in thread
From: Lancelot SIX @ 2022-01-07 22:45 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e88e167858ab3798df9b8c858d07fcccc6336bc7

commit e88e167858ab3798df9b8c858d07fcccc6336bc7
Author: Lancelot SIX <lsix@lancelotsix.com>
Date:   Sun Nov 21 00:35:01 2021 +0000

    gdb/testsuite: Remove duplicates from gdb.base/readline.exp
    
    When running the testsuite, I have:
    
        Running .../gdb/testsuite/gdb.base/readline.exp ...
        DUPLICATE: gdb.base/readline.exp: Simple operate-and-get-next - final prompt
    
    Fix by adjusting the prefix given to the second 'simple' call to
    operate_and_get_next.
    
    Tested on x86_64-linux.

Diff:
---
 gdb/testsuite/gdb.base/readline.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.base/readline.exp b/gdb/testsuite/gdb.base/readline.exp
index a1994b2abcd..4d770336eb6 100644
--- a/gdb/testsuite/gdb.base/readline.exp
+++ b/gdb/testsuite/gdb.base/readline.exp
@@ -193,7 +193,7 @@ save_vars { env(TERM) } {
 	gdb_start
 	gdb_reinitialize_dir $srcdir/$subdir
 
-	operate_and_get_next "Simple operate-and-get-next" \
+	operate_and_get_next "Simple operate-and-get-next, two" \
 	    "p 7" ".* = 7" \
 	    "p 8" ".* = 8" \
 	    "p 9" ".* = 9"


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-07 22:45 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:45 [binutils-gdb] gdb/testsuite: Remove duplicates from gdb.base/readline.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).