gdb/testsuite: Remove duplicates from gdb.base/call-signal-resume.exp
authorLancelot SIX <lsix@lancelotsix.com>
Sun, 21 Nov 2021 15:22:49 +0000 (15:22 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Fri, 7 Jan 2022 22:43:34 +0000 (22:43 +0000)
commit8cc261b7814cdd04735be2e7af1fafc19df1b3b6
tree2c3f9aace9c1240195cb28456521086bdf51d715
parent148ac50e89b66c1d7934f464195ba559f5cc8cd0
gdb/testsuite: Remove duplicates from gdb.base/call-signal-resume.exp

When running the testsuite, I have:

    Running .../gdb/testsuite/gdb.base/call-signal-resume.exp ...
    DUPLICATE: gdb.base/call-signal-resume.exp: dummy stack frame number
    DUPLICATE: gdb.base/call-signal-resume.exp: set confirm off
    DUPLICATE: gdb.base/call-signal-resume.exp: return

This is due to the fact that a pattern was probably copy/pasted to
re-use the logic while not adjusting the test names to avoid the
duplication.

Fix by removing the redundant tests ('set confirm off' only needs to be
used once) and adjusting the test names where appropriate.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/call-signal-resume.exp