[LTP] [PATCH 2/2] syscalls: update tcases using dev_fs_type to use some_filesystems

Cyril Hrubis chrubis@suse.cz
Thu May 30 17:27:37 CEST 2019


Hi!
> > I guess that we can enable the this test for all filesystems, there is
> > in-kernel fallback for filesystems that does not support the syscall so
> > it should work on all filesystems and the fallback code should be tested
> > as well.
> > 
> > >  testcases/kernel/syscalls/getxattr/getxattr04.c           | 7 +++++--
> > 
> > Well I would be slightly in favor of enabling this test for all
> > filesystems as well.
> > 
> > If we ever want to maintain list of filesystems that support extended
> > attributes there should be only one somewhere in the test library so
> > that we don't have to change thousand testcases later on.
> 
> Hmm.. So we actually don't need this array. Just enable some proper
> tests for all filesystems.

Looks like that, I've checked the fgetxattr01.c test and we only skip
fat and vfat when the test is executed, all the other filesystems do
support extended attributes. Disabling fat and vfat does not seem to
speed up the test at all, I guess that the mkfs + mount is fast enough
so that the difference is not measureable.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list