generic/603: don't run on XFS v4 filesystems

XFS filesystems require V5 format to support all three quota types at
the same time, so skip the test if we're testing XFS older than that.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2020-07-28 19:51:41 -07:00
committed by Eryu Guan
parent 4312634662
commit fc80a49546
+4
View File
@@ -149,6 +149,10 @@ test_grace()
_supported_fs generic
_supported_os Linux
_require_scratch
# xfs requires v5 format to support all three quota types at the same time
if [ "$FSTYP" = "xfs" ]; then
_require_scratch_xfs_crc
fi
_require_setquota_project
_require_quota
_require_user