[PATCH] xfs/820: skip test when metadir is not supported

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



The test specifically requires metadata directory functionality, so make
it dependent on that as otherwise it fails on kernels older than v6.13
that do not implement the feature.

Signed-off-by: Anthony Iliopoulos <ailiop@xxxxxxxx>
---
 tests/xfs/820 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xfs/820 b/tests/xfs/820
index 1dfd0dd32e14..8d739c7f6f3d 100755
--- a/tests/xfs/820
+++ b/tests/xfs/820
@@ -16,7 +16,7 @@ _begin_fstest auto quick quota
 $MKFS_XFS_PROG 2>&1 | grep -q 'uquota' || \
 	_notrun "mkfs does not support uquota option"
 
-_require_scratch
+_require_xfs_scratch_metadir
 _require_xfs_quota
 
 filter_quota_state() {
-- 
2.49.0





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux