From: Darrick J. Wong Date: Mon, 16 Mar 2026 23:29:35 +0000 (-0700) Subject: xfs/805: adjust for new autofsck fsproperty defaults X-Git-Tag: v2026.04.20~20 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c17136d0c6c4ad6c8fd07561d4f63d5026d59401;p=xfstests-dev.git xfs/805: adjust for new autofsck fsproperty defaults 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 Reviewed-by: Christoph Hellwig Signed-off-by: Zorro Lang --- diff --git a/tests/xfs/805 b/tests/xfs/805 index ae8f8a1a..cb57561a 100755 --- a/tests/xfs/805 +++ b/tests/xfs/805 @@ -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 diff --git a/tests/xfs/805.out b/tests/xfs/805.out index 3d22f1b2..6224d70c 100644 --- a/tests/xfs/805.out +++ b/tests/xfs/805.out @@ -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