On Mon, Apr 06, 2026 at 05:17:01PM +0300, Mike Rapoport wrote:

>               if (p == MAP_FAILED) {
> -                     printf("FAILED\n");
> -                     ret = KSFT_FAIL;
> +                     ksft_test_result_fail("%s: MAP_FAILED\n", t->msg);

ksft_test_result_*() should use a consistent name for the test,
otherwise tooling won't be able to correlate passes and fails from
different runs (or different fails if the fails print different errors).
The entire string supplied is taken as the test name.  Log the error
separately.

Attachment: signature.asc
Description: PGP signature

Reply via email to