aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2021-11-19 23:08:23 +0000
committerLancelot SIX <lsix@lancelotsix.com>2022-01-07 22:43:32 +0000
commitf4581a88264cd5818423a51debde44dc8e9e9324 (patch)
tree638814597cd189f147adb38082542356b71c1ffb
parentf05f3e723568756ac523ffddfe90fe6ed12dbb95 (diff)
downloadbinutils-f4581a88264cd5818423a51debde44dc8e9e9324.zip
binutils-f4581a88264cd5818423a51debde44dc8e9e9324.tar.gz
binutils-f4581a88264cd5818423a51debde44dc8e9e9324.tar.bz2
gdb/testsuite: Remove duplicates from gdb.base/pie-fork.exp
When running the testsuite, I have: Running .../gdb/testsuite/gdb.base/pie-fork.exp ... DUPLICATE: gdb.base/pie-fork.exp: test_no_detach_on_fork: continue Fix by giving explicit names to the 'continue' commands that cause the duplicate message. Tested on x86_64-linux.
-rw-r--r--gdb/testsuite/gdb.base/pie-fork.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/pie-fork.exp b/gdb/testsuite/gdb.base/pie-fork.exp
index a60e420..efc357d 100644
--- a/gdb/testsuite/gdb.base/pie-fork.exp
+++ b/gdb/testsuite/gdb.base/pie-fork.exp
@@ -54,9 +54,11 @@ proc_with_prefix test_detach_on_fork_follow_child {} {
proc_with_prefix test_no_detach_on_fork {} {
setup_test "off"
- gdb_test "continue" "\r\nThread 1.1 .* hit Breakpoint 2, break_here.*"
+ gdb_test "continue" "\r\nThread 1.1 .* hit Breakpoint 2, break_here.*" \
+ "continue from thread 1.1"
gdb_test "thread 2.1"
- gdb_test "continue" "\r\nThread 2.1 .* hit Breakpoint 2, break_here.*"
+ gdb_test "continue" "\r\nThread 2.1 .* hit Breakpoint 2, break_here.*" \
+ "continue from thread 2.1"
}
test_detach_on_fork_follow_parent