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:
Peter Leckie
2008-08-26 16:11:33 +00:00
parent e6e55060ae
commit a7125ed1bb
+1 -2
View File
@@ -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