From: Peter Leckie Date: Tue, 26 Aug 2008 16:11:33 +0000 (+0000) Subject: Fix test 190 to work file filesystems with bsize other then 4096. X-Git-Tag: v1.1.0~362 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a7125ed1bbebad53dd1be45fa9c13a2393125a9b;p=users%2Fhch%2Fxfstests-dev.git 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. --- diff --git a/190 b/190 index 62cec9a92..8f8558533 100755 --- a/190 +++ b/190 @@ -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