]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/820: skip test when metadir is not supported
authorAnthony Iliopoulos <ailiop@suse.com>
Thu, 19 Jun 2025 13:30:31 +0000 (15:30 +0200)
committerZorro Lang <zlang@kernel.org>
Fri, 20 Jun 2025 16:46:47 +0000 (00:46 +0800)
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@suse.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/820

index 1dfd0dd32e14a2ca94f21183089ca30e11eafbf6..8d739c7f6f3debde2a5653f8e60a470ca4b06274 100755 (executable)
@@ -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() {