gdb/testsuite: Remove duplicates from gdb.base/pending.exp
authorLancelot SIX <lsix@lancelotsix.com>
Fri, 19 Nov 2021 23:22:53 +0000 (23:22 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Fri, 7 Jan 2022 22:43:32 +0000 (22:43 +0000)
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.

gdb/testsuite/gdb.base/pending.exp

index 3330077d16ca9d942f5ec1faf39213d28ba8cf16..c9178fc9d159ec6281cf8530c3554c3a773dc403 100644 (file)
@@ -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.*;" \