mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Fix test 190 to work file filesystems with bsize other then 4096.
Merge of master-melb:xfs-cmds:31968a by kenmcd. Fix test 190 to work file filesystems with bsize other then 4096.
This commit is contained in:
@@ -20,7 +20,6 @@ holes="4096:4096 303104:4096 1048576:512 1051648:8192 1065984:8192 1085440:7168"
|
||||
filesize=10
|
||||
#Name of file to perform the test on
|
||||
filename=test-190
|
||||
fsblocksize=4096
|
||||
|
||||
seq=`basename $0`
|
||||
echo "QA output created by $seq"
|
||||
@@ -41,7 +40,7 @@ _supported_os Linux
|
||||
_require_scratch
|
||||
_scratch_mkfs_xfs >/dev/null 2>&1
|
||||
_scratch_mount
|
||||
|
||||
fsblocksize=`xfs_info $SCRATCH_MNT|sed 's/=/ /g'|awk '/^data / { print $3 }'`
|
||||
|
||||
dd if=/dev/zero of=$SCRATCH_MNT/$filename bs=1024k count=10 >> $seq.full 2>&1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user