[LTP] [PATCH v6 3/8] tst_supported_fs: Support skip list when query single fs

Cyril Hrubis chrubis@suse.cz
Fri Sep 16 14:28:17 CEST 2022


Hi!
> Shouldn't there be an getopt option to decide?
> e.g. by default both skip list and mkfs (no matter if -s is passed) and with
> option (e.g. -o) check only for a list? This is not needed when checking all
> filesystems, only for testing single filesystem, so I wonder if I should
> implement it for all filesystems mode.
> 
> But as this is not needed I'm ok to implement what you suggest:
> tst_supported_fs -s skiplist foo would check only if the used filesystem is not
> filtered by skip list (used in tst_test.sh).
> 
> tst_supported_fs foo would check only for mkfs.foo (used in prepare_lvm.sh).
> 
> What do you prefer?

I guess that I do not care that much what exact API we do have here as
long was we can check for just skiplist or just support separatelly.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list