From: Darrick J. Wong Date: Tue, 8 Oct 2019 01:03:23 +0000 (-0700) Subject: xfs/263: use _scratch_mkfs_xfs instead of open-coded mkfs call X-Git-Tag: v2022.05.01~1000 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7c1c3fa593318a4d9a38698070b0bc1c1cdbda62;p=xfstests-dev.git xfs/263: use _scratch_mkfs_xfs instead of open-coded mkfs call Fix this test to use _scratch_mkfs_xfs instead of the open-coded mkfs call. This is needed to make the test succeed when XFS DAX is enabled and mkfs enables reflink by default. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- diff --git a/tests/xfs/263 b/tests/xfs/263 index 75477937..578f9ee7 100755 --- a/tests/xfs/263 +++ b/tests/xfs/263 @@ -75,11 +75,11 @@ function test_all_state() echo "==== NO CRC ====" # Control size to control inode numbers -$MKFS_XFS_PROG -f -m crc=0 -n ftype=0 -d size=512m $SCRATCH_DEV >>$seqres.full +_scratch_mkfs_xfs "-m crc=0 -n ftype=0 -d size=512m" >> $seqres.full test_all_state echo "==== CRC ====" -$MKFS_XFS_PROG -f -m crc=1 -d size=512m $SCRATCH_DEV >>$seqres.full +_scratch_mkfs_xfs "-m crc=1 -d size=512m" >>$seqres.full test_all_state status=0