gdb/testsuite: Remove duplicates from gdb.base/decl-before-def.exp
authorLancelot SIX <lsix@lancelotsix.com>
Fri, 19 Nov 2021 23:27:18 +0000 (23:27 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Fri, 7 Jan 2022 22:43:32 +0000 (22:43 +0000)
commit1182b42df6b11fc9fe1619139a3ee80457d9d37e
tree8351743b5f4e085ec9684419d9e9dae940e6b0c0
parent08c8808ae274801163a259bdc425165ac8fbf097
gdb/testsuite: Remove duplicates from gdb.base/decl-before-def.exp

When running the testsuite, I have:

    Running .../gdb/testsuite/gdb.base/decl-before-def.exp ...
    DUPLICATE: gdb.base/decl-before-def.exp: p a

Fix by giving explicit names to the two tests that use the same command.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/decl-before-def.exp