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.
This commit is contained in:
Lancelot SIX
2021-11-21 00:35:01 +00:00
parent 22dafa45d3
commit e88e167858

View File

@ -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"