From: Lancelot SIX Date: Sun, 21 Nov 2021 00:35:01 +0000 (+0000) Subject: gdb/testsuite: Remove duplicates from gdb.base/readline.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e88e167858ab3798df9b8c858d07fcccc6336bc7;p=binutils-gdb.git 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 --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"