]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/516: use _scratch_mkfs_xfs v2024.08.11
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Aug 2024 14:35:10 +0000 (07:35 -0700)
committerZorro Lang <zlang@kernel.org>
Thu, 8 Aug 2024 09:34:39 +0000 (17:34 +0800)
Use _scratch_mkfs_xfs instead of _scratch_mkfs to get _notrun handling
for unsupported option combinations.

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

index e52779cf31d969e8b54af29c99bfe937e7a7399a..882ba48e83aa49ae3dd6139571109d15f5f664da 100755 (executable)
@@ -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