From: Christoph Hellwig Date: Wed, 7 Aug 2024 14:35:10 +0000 (-0700) Subject: xfs/516: use _scratch_mkfs_xfs X-Git-Tag: v2024.08.11^0 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d9423fec72932acf2319256b649c59357eb4960b;p=xfstests-dev.git xfs/516: use _scratch_mkfs_xfs Use _scratch_mkfs_xfs instead of _scratch_mkfs to get _notrun handling for unsupported option combinations. Signed-off-by: Christoph Hellwig Acked-by: Darrick J. Wong Signed-off-by: Zorro Lang --- diff --git a/tests/xfs/516 b/tests/xfs/516 index e52779cf..882ba48e 100755 --- a/tests/xfs/516 +++ b/tests/xfs/516 @@ -72,7 +72,7 @@ __test_mount_opts() test_sunit_opts() { echo "Format with 4k stripe unit; 1x stripe width" >> $seqres.full - _scratch_mkfs -b size=4k -d sunit=8,swidth=8 >> $seqres.full 2>&1 + _scratch_mkfs_xfs -b size=4k -d sunit=8,swidth=8 >> $seqres.full 2>&1 __test_mount_opts "$@" } @@ -82,7 +82,7 @@ test_su_opts() local mounted=0 echo "Format with 256k stripe unit; 4x stripe width" >> $seqres.full - _scratch_mkfs -b size=1k -d su=256k,sw=4 >> $seqres.full 2>&1 + _scratch_mkfs_xfs -b size=1k -d su=256k,sw=4 >> $seqres.full 2>&1 __test_mount_opts "$@" } @@ -92,7 +92,7 @@ test_repair_detection() local mounted=0 echo "Format with 256k stripe unit; 4x stripe width" >> $seqres.full - _scratch_mkfs -b size=1k -d su=256k,sw=4 >> $seqres.full 2>&1 + _scratch_mkfs_xfs -b size=1k -d su=256k,sw=4 >> $seqres.full 2>&1 # Try to mount the fs with our test options. _try_scratch_mount >> $seqres.full 2>&1 && mounted=1