]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/079,277: require chattr, not xattrs
authorHugh Dickins <hughd@google.com>
Thu, 18 Feb 2016 23:47:55 +0000 (10:47 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Feb 2016 23:47:55 +0000 (10:47 +1100)
commit6912082bc228b6f5d784c9b3d8538501a7bbe83f
tree706cd84c5bbbe21f269755e47b899f438e2bc5d5
parenta8e24c8ab5cd844409dea54bad4b8d4d537290ac
generic/079,277: require chattr, not xattrs

Add a new helper, _require_chattr, which allows the test to explicitly
check to see if the file system supports a specific chattr flag, as
not all file systems support chattr +A or chattr +i, and the presence
of extended attribute support is has nothing to do with a specific
chattr flag being supported.

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc
tests/generic/079
tests/generic/277