The tests _require_test_lsattr, but don't actually use lsattr. They
use chattr +i/-i, so require the appropriate command.
_require_test_lsattr checks the FS_IOC_GETFLAGS ioctl on a directory
and that is not supported in overlayfs. _require_chattr checks the
ioctl on a file, which is supported in overlayfs, so this change
makes the tests run and pass on overlayfs.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
# real QA test starts here
_supported_os Linux
# real QA test starts here
_supported_os Linux
_require_test_reflink
rm -f $seqres.full
_require_test_reflink
rm -f $seqres.full
# real QA test starts here
_supported_os Linux
# real QA test starts here
_supported_os Linux
_require_test_dedupe
rm -f $seqres.full
_require_test_dedupe
rm -f $seqres.full