FSTests Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] generic/603: don't run on XFS v4 filesystems
@ 2020-07-29  2:51 Darrick J. Wong
  2020-07-29  4:53 ` Zorro Lang
  0 siblings, 1 reply; 2+ messages in thread
From: Darrick J. Wong @ 2020-07-29  2:51 UTC (permalink / raw)
  To: Eryu Guan; +Cc: fstests

From: Darrick J. Wong <darrick.wong@oracle.com>

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>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29  2:51 [PATCH] generic/603: don't run on XFS v4 filesystems Darrick J. Wong
2020-07-29  4:53 ` Zorro Lang

FSTests Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/fstests/0 fstests/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 fstests fstests/ https://lore.kernel.org/fstests \
		fstests@vger.kernel.org
	public-inbox-index fstests

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.fstests


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git