[LTP] [PATCH 1/1] lib: Fix fs support detection for non-root

Petr Vorel pvorel@suse.cz
Thu Jan 28 15:55:12 CET 2021


Hi,

...
> +++ b/lib/tst_supported_fs_types.c
> @@ -52,10 +52,29 @@ static int has_kernel_support(const char *fs_type, int flags)
>  	char buf[128];
>  	int ret;

> +	const char * const argv[] = { "grep", "-q", "-F", "-w", fs_type, "/proc/filesystems", NULL };
"-F" is probably useless.

Kind regards,
Petr


More information about the ltp mailing list