[LTP] [PATCH 1/2] lib/tst_test: introduce tst_test->some_filesystems

Murphy Zhou xzhou@redhat.com
Thu May 30 17:00:43 CEST 2019


On Thu, May 30, 2019 at 06:31:21AM -0400, Jan Stancek wrote:
> 
> ----- Original Message -----
> > Like all_filesystems, some_filesystems option let tcase to run on
> > specific filesystems.
> > In order to implement this, change run_tcases_per_fs to accept a
> > parameter indicating which filesystems need to test.
> > 
> > To let tcase use this option, we need some other flags set
> > Eg:
> > static char *some_filesystems[] = {"ext4", "xfs", "btrfs"};
> 
> What happens if one of them is not supported/available?
> Will it be skipped/TCONF?
> 

Very good question! Now it breaks TCONF if not available because
availability is not checked like all_filesystems config does.
It's better to add it. If it's not supported, we should not list
it in the fs type array.

Thanks,
Murphy


More information about the ltp mailing list