mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
express the logsize at mkfs time in units of bytes, not blocks; allows the
test to work for non-4K blocksizes.
This commit is contained in:
@@ -125,7 +125,9 @@ _require_scratch
|
||||
echo -e -n "\n\r*** XFS QA 044 - expect mount failure messages\n\r\n\r" >/dev/console
|
||||
|
||||
echo "*** mkfs"
|
||||
mkfs_xfs -llogdev=$SCRATCH_LOGDEV,size=4096b $SCRATCH_DEV | _filter_mkfs 2>/dev/null
|
||||
lsize=16777216
|
||||
ldev=$SCRATCH_LOGDEV
|
||||
mkfs_xfs -llogdev=$ldev,size=$lsize $SCRATCH_DEV | _filter_mkfs 2>/dev/null
|
||||
_check_mount
|
||||
_check_require_logdev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user