-check_no_policy()
-{
- # When a file is unencrypted, FS_IOC_GET_ENCRYPTION_POLICY currently
- # fails with ENOENT on ext4 but with ENODATA on f2fs. TODO: it's
- # planned to consistently use ENODATA. For now this test accepts both.
- _get_encpolicy $1 |&
- sed -e 's/No such file or directory/No data available/'
-}
-