gdb/testsuite: Remove duplicates from gdb.base/set-cfd.exp
authorLancelot SIX <lsix@lancelotsix.com>
Sun, 21 Nov 2021 00:55:01 +0000 (00:55 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Fri, 7 Jan 2022 22:43:33 +0000 (22:43 +0000)
commitd95edb60be9f66cb4797130c8902bf5814b19448
treeab4bbd54fb1c3cbd57eb27508289fee9c1c82c00
parent1868c0cb3378ba3984c056b3850cc93eaa709e04
gdb/testsuite: Remove duplicates from gdb.base/set-cfd.exp

When running the testsuite, I have:

    Running .../gdb/testsuite/gdb.base/set-cwd.exp ...
    DUPLICATE: gdb.base/set-cwd.exp: test_cwd_reset: continue to breakpoint: break-here

Fix by moving the tests after the 'runto_main' within the same
with_test_prefix scope.

While at it, I fix some indentation issues.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/set-cwd.exp