[LTP] coredump01: New core_pattern specifiers test

linuxtestproject.agent@gmail.com linuxtestproject.agent@gmail.com
Mon Aug 24 10:55:56 CEST 2026


Hi Andrea,

On August 24, 2026, Andrea Cervesato wrote:
> coredump01: New core_pattern specifiers test

> static struct tst_test test = {
> 	.test = run,
> 	.tcnt = 2,
> 	.setup = setup,
> 	.needs_root = 1,
> 	.needs_tmpdir = 1,
> 	.forks_child = 1,
> 	.save_restore = (const struct tst_path_val[]) {

Could this add a CONFIG_COREDUMP=y entry to .needs_kconfigs?
Without it, the ELF binary format has no core-dump callback, so
vfs_coredump() returns without setting the WCOREDUMP status bit.
crash_child() then reports TFAIL rather than TCONF on a valid kernel
configuration.

Verdict - Needs revision

---
Note:

The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer


More information about the ltp mailing list