[gdb/testsuite] Fix DUPLICATEs gdb.dwarf2/dw2-is-stmt.exp
authorTom de Vries <tdevries@suse.de>
Fri, 24 Sep 2021 10:39:15 +0000 (12:39 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 24 Sep 2021 10:39:15 +0000 (12:39 +0200)
commit11a607f8cb5f2999569b44fe08ee0e0acd0f4c3c
tree89b3c7bce12fd44a1608a9ec55936dc4fa4d2866
parentdfca0ed23fc32c7a6a157c46796a9cc56689a5ad
[gdb/testsuite] Fix DUPLICATEs gdb.dwarf2/dw2-is-stmt.exp

Fix these DUPLICATEs by using with_test_prefix:
...
DUPLICATE: gdb.dwarf2/dw2-is-stmt.exp: ensure we saw a valid line pattern, 1
DUPLICATE: gdb.dwarf2/dw2-is-stmt.exp: ensure we saw a valid line pattern, 2
...

Tested on x86_64-linux.
gdb/testsuite/gdb.dwarf2/dw2-is-stmt.exp