From a7125ed1bbebad53dd1be45fa9c13a2393125a9b Mon Sep 17 00:00:00 2001 From: Peter Leckie Date: Tue, 26 Aug 2008 16:11:33 +0000 Subject: [PATCH] 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. --- 190 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/190 b/190 index 62cec9a9..8f855853 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 -- 2.39.5