From: Lancelot SIX Date: Fri, 19 Nov 2021 23:22:53 +0000 (+0000) Subject: gdb/testsuite: Remove duplicates from gdb.base/pending.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08c8808ae274801163a259bdc425165ac8fbf097;p=binutils-gdb.git gdb/testsuite: Remove duplicates from gdb.base/pending.exp When running the testsuite, I have: Running .../gdb/testsuite/gdb.base/pending.exp ... DUPLICATE: gdb.base/pending.exp: disable other breakpoints Fix by adjusting the test names. Tested on x86_64-linux. --- diff --git a/gdb/testsuite/gdb.base/pending.exp b/gdb/testsuite/gdb.base/pending.exp index 3330077d16c..c9178fc9d15 100644 --- a/gdb/testsuite/gdb.base/pending.exp +++ b/gdb/testsuite/gdb.base/pending.exp @@ -244,8 +244,8 @@ gdb_test "continue" \ # be 3 then. # -gdb_test "disable 7" "" "disable other breakpoints" -gdb_test "disable 5" "" "disable other breakpoints" +gdb_test "disable 7" "" "disable breakpoint 7" +gdb_test "disable 5" "" "disable breakpoint 5" gdb_test "continue" \ ".*Breakpoint.*pendfunc1.*\\\(x=3\\\) at.*pendshr.c:$bp3_loc.*printf.*;" \