Message ID | 1537784193-24431-7-git-send-email-anand.jain@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Fix _scratch_mkfs_sized() for btrfs | expand |
diff --git a/tests/generic/204 b/tests/generic/204 index 349f5eff351f..576c4eabd359 100755 --- a/tests/generic/204 +++ b/tests/generic/204 @@ -42,8 +42,7 @@ _scratch_mkfs 2> /dev/null | _filter_mkfs 2> $tmp.mkfs > /dev/null # time solves this problem. [ $FSTYP = "xfs" ] && MKFS_OPTIONS="$MKFS_OPTIONS -l size=16m -i maxpct=50" -SIZE=`expr 115 \* 1024 \* 1024` -_scratch_mkfs_sized $SIZE $dbsize 2> /dev/null > $tmp.mkfs.raw +_scratch_mkfs_sized $((115 * 1024 * 1024)) $dbsize 2> /dev/null > $tmp.mkfs.raw cat $tmp.mkfs.raw | _filter_mkfs 2> $tmp.mkfs > /dev/null _scratch_mount
By open code we could grep to find out FS size being use by this test case. Signed-off-by: Anand Jain <anand.jain@oracle.com> --- tests/generic/204 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)