[LTP] [PATCH v2 1/2] lib: Factor out is_supported() && Add tst_supported_fs for shell

Cyril Hrubis
2018-07-19T12:27:37Z

Hi!
> + printf("Usage: tst_supported_fs [fs_type]\n");
> + printf(" If a specified fs_type is supported, return 1\n");
> + printf(" If a specified fs_type isn't supported, return 0\n");

Also this is a bit confusing since in shell 0 == true, hence it would be
a bit better to return !tst_fs_is_supported(argv[1]);