[LTP] coredump01: New core_pattern specifiers test

Andrea Cervesato andrea.cervesato@suse.com
Thu Sep 3 09:22:09 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
> 
> -- 
> Mailing list info: https://lists.linux.it/listinfo/ltp

This is valid. I sent a new version

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list