From fc80a49546044eb45aa752d228d94279afde3e1f Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 28 Jul 2020 19:51:41 -0700 Subject: [PATCH] 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 Reviewed-by: Zorro Lang Signed-off-by: Eryu Guan --- tests/generic/603 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/generic/603 b/tests/generic/603 index 54deaf13..fc3df6e5 100755 --- a/tests/generic/603 +++ b/tests/generic/603 @@ -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 -- 2.30.2