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 <tdevries@suse.de>
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})"
}
}
}