[gdb/testsuite] Fix DUPLICATEs in gdb.base/multi-forks.exp
authorTom de Vries <tdevries@suse.de>
Tue, 27 Oct 2020 22:17:09 +0000 (23:17 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 27 Oct 2020 22:17:09 +0000 (23:17 +0100)
commit297e9a75f245825e842054496c132f04b459fc78
tree4c8a0b7b63d58b0601dbce47fd26b289922fe98c
parent5868da034f47fd7e5c3d4bf0ba204850df144271
[gdb/testsuite] Fix DUPLICATEs in gdb.base/multi-forks.exp

When running test-case gdb.base/multi-forks.exp I get:
...
DUPLICATE: gdb.base/multi-forks.exp: run to exit 2
DUPLICATE: gdb.base/multi-forks.exp: run to exit 2
...

Fix these by using test_with_prefix.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/multi-forks.exp