mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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 <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
d48645e8a1
commit
7c1c3fa593
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user