gdb/testsuite: Remove duplicates from gdb.base/unload.exp
authorLancelot SIX <lsix@lancelotsix.com>
Sun, 21 Nov 2021 01:50:26 +0000 (01:50 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Fri, 7 Jan 2022 22:43:33 +0000 (22:43 +0000)
When running the testsuite, I have:

    Running .../gdb/testsuite/gdb.base/unload.exp ...
    DUPLICATE: gdb.base/unload.exp: continuing to unloaded libfile

Fix by adjusting the test name.

Tested on x86_64-linux.

gdb/testsuite/gdb.base/unload.exp

index a041dde4b32c5c01451e3107d092c4747597c42d..6033203bfb88501d34d7f65ddcdcd45823b7533e 100644 (file)
@@ -119,7 +119,7 @@ gdb_breakpoint "$testfile.c:[gdb_get_line_number "y-set-1" $testfile.c]" tempora
 
 gdb_test "continue" \
 "Continuing.*warning: Temporarily disabling breakpoints for.*${lib_syms}.*y-set-1.*" \
-"continuing to unloaded libfile"
+"continuing to unloaded libfile, two"
 
 set unloadshr_line2 [gdb_get_line_number "unloadshr2 break" ${libsrcfile2}]