Re: [LTP] [PATCH v6] listmount04.c: Update case support mnt_id_req.mnt_ns_fd

Cyril Hrubis
2025-12-17T09:31:26Z

Hi!
> static void run(unsigned int n)
> {
> struct tcase *tc = &tcases[n];
> - struct mnt_id_req *req = NULL;
> + mnt_id_req *req = NULL;
> +
> + if (tc->kver && tc->kver != kver) {
> + tst_res(TCONF, "Skip the case that is not suitable for the current kernel version");

I would shorten this message a bit "Test not suitable for current kernel version"

Because the information that the test is skipped is already in the TCONF
flag.

Otherwise: Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

--
Cyril Hrubis
chrubis@suse.cz