mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/194: actually check if we got the desired block size before proceeding
This test has specific fs block size requirements, so make sure that's what we got before we proceed with the test. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
8b28dae4ac
commit
5f35d3df8a
@@ -83,6 +83,9 @@ unset XFS_MKFS_OPTIONS
|
||||
# we need 512 byte block size, so crc's are turned off
|
||||
_scratch_mkfs_xfs -m crc=0 -b size=$blksize >/dev/null 2>&1
|
||||
_scratch_mount
|
||||
test "$(_get_block_size $SCRATCH_MNT)" = $blksize || \
|
||||
_notrun "Could not get $blksize-byte blocks"
|
||||
|
||||
|
||||
# 512b block / 4k page example:
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user