gdb/testsuite: Remove duplicates from gdb.base/pretty-array.exp
authorLancelot SIX <lsix@lancelotsix.com>
Sun, 21 Nov 2021 00:29:01 +0000 (00:29 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Fri, 7 Jan 2022 22:43:33 +0000 (22:43 +0000)
commit22dafa45d306e4086615d1269e0a3c504e284da5
tree5e29ce9a27d3592bbb0dfa49be658175298866b1
parentfdc3b97899bfc9bbd4a562816b7ee38ff712f61d
gdb/testsuite: Remove duplicates from gdb.base/pretty-array.exp

When I run the testsuite, I have:

    Running .../gdb/testsuite/gdb.base/pretty-array.exp ...
    DUPLICATE: gdb.base/pretty-array.exp: print nums
    DUPLICATE: gdb.base/pretty-array.exp: print nums

Fix by giving a name to the test cases.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/pretty-array.exp