[LTP] coredump01: New core_pattern specifiers test

linuxtestproject.agent@gmail.com linuxtestproject.agent@gmail.com
Wed Sep 2 19:44:00 CEST 2026


Hi Andrea,

On September 2, 2026, Andrea Cervesato wrote:
> coredump01: New core_pattern specifiers test

> 	if (tst_get_path(HELPER, helper_path, sizeof(helper_path)))
> 		tst_brk(TCONF, "'%s' not found in $PATH", HELPER);

`tst_get_path()` can return a relative path such as
`./coredump01_helper`, but a piped core_pattern helper is resolved from
the root directory. Canonicalize `helper_path` to an absolute path before
writing it to core_pattern, otherwise the helper may not start and the
test reports a false failure.

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