[LTP] lib: Print version and kernel early enough
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Wed Sep 30 17:04:41 CEST 2026
Hi Petr,
On 30 Sep 2026, Petr Vorel wrote:
> lib: Print version and kernel early enough
> + tst_res(TINFO, "LTP version: "LTP_VERSION);
> +
> + uname(&uval);
> + tst_res(TINFO, "Tested kernel: %s %s %s", uval.release, uval.version, uval.machine);
> +
> do_setup(argc, argv);
LTP_REPRODUCIBLE_OUTPUT=1 or y no longer suppresses these TINFO messages:
test05 prints both, whereas master prints neither. The flag is initialized
inside do_setup(), so these calls bypass suppression and introduce
kernel/build-dependent output. Move the environment-based initialization
before these messages.
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