gdb.base/corefile-buildid.exp: fix DUPLICATEs when failing to generate a core file
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 1 Dec 2021 02:00:59 +0000 (21:00 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 1 Dec 2021 02:05:26 +0000 (21:05 -0500)
commit6976b5b96120ad71af4cec2891f3d8ae7869e4e0
treedb32ef6209f4974b42e0cbedf63a311f9806f1df
parent360ef3b94a9120729ae36f1ca9e7e1935d5788eb
gdb.base/corefile-buildid.exp: fix DUPLICATEs when failing to generate a core file

When my system isn't properly configured to generate core files in the
local directory, I see these DUPLICATEs:

    DUPLICATE: gdb.base/corefile-buildid.exp: could not generate core file

Fix that by having a single with_test_prefix around that message and
what follows.

Change-Id: I4ac245fcce1c666db56e3bad3582aa17f183dcba
gdb/testsuite/gdb.base/corefile-buildid.exp