]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/805: adjust for new autofsck fsproperty defaults
authorDarrick J. Wong <djwong@kernel.org>
Mon, 16 Mar 2026 23:29:35 +0000 (16:29 -0700)
committerZorro Lang <zlang@kernel.org>
Fri, 20 Mar 2026 10:55:43 +0000 (18:55 +0800)
Now that mkfs will set autofsck=repair for filesystems that have both
reverse space mappings and file parent pointers enabled, let's stop
testing the "no autofsck option at all" scenario to avoid problems with
older mkfs.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/805
tests/xfs/805.out

index ae8f8a1ab7cf44bbe26b3ea952a3a97941599bfd..cb57561a1bafd754f46cc072474627d759c66126 100755 (executable)
@@ -37,13 +37,9 @@ filter_inum()
 }
 
 testme() {
-       local mkfs_args=('-f')
        local value="$1"
        test -n "$value" && value="=$value"
-
-       if [ $# -gt 0 ]; then
-               mkfs_args+=('-m' "autofsck$value")
-       fi
+       local mkfs_args=('-f' '-m' "autofsck$value")
 
        echo "testing ${mkfs_args[*]}" >> $seqres.full
 
@@ -54,7 +50,6 @@ testme() {
 }
 
 testme ''
-testme
 testme none
 testme check
 testme optimize
index 3d22f1b208e3e9ad07834e2c1787178df2465eca..6224d70c4b1d7e1f35da61c305a0081a67918ee0 100644 (file)
@@ -1,6 +1,5 @@
 QA output created by 805
 autofsck=repair
-failed to get attr xfs:autofsck on inode XXX: No data available
 autofsck=none
 autofsck=check
 autofsck=optimize