[LTP] [PATCH v6] listmount04.c: Update case support mnt_id_req.mnt_ns_fd
Cyril Hrubis
chrubis@suse.cz
Wed Dec 17 10:32:02 CET 2025
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
More information about the ltp
mailing list