From: Jan Vrany Date: Mon, 12 Jan 2026 19:55:03 +0000 (+0000) Subject: gdb/testsuite: fix DUPLICATE in call-sc.exp X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d028caf34190cbed320e6d1b276e4de2a0c467d9;p=thirdparty%2Fbinutils-gdb.git gdb/testsuite: fix DUPLICATE in call-sc.exp With test-case gdb.base/call-sc.exp I get: DUPLICATE: gdb.base/call-sc.exp: tc: ptype; call-sc-tc (char) DUPLICATE: gdb.base/call-sc.exp: ts: ptype; call-sc-ts (short) DUPLICATE: gdb.base/call-sc.exp: ti: ptype; call-sc-ti (int) ... Fix this by changing test name in testcase added in commit be90f3e2. Tested on x86_64-linux. Approved-By: Tom de Vries --- diff --git a/gdb/testsuite/gdb.base/call-sc.exp b/gdb/testsuite/gdb.base/call-sc.exp index 3f99832f4df..7fbb6045152 100644 --- a/gdb/testsuite/gdb.base/call-sc.exp +++ b/gdb/testsuite/gdb.base/call-sc.exp @@ -81,7 +81,7 @@ proc start_scalars_test { type } { gdb_test_multiple "ptype/r foo" "ptype foo; ${testfile}" { -re "type = .*$gdb_prompt $" { set foo_t "$expect_out(1,string)" - pass "$test (${foo_t})" + pass "ptype foo; ${testfile} (${foo_t})" } } }