diff mbox series

[3/9] geneirc/077 fix min size for btrfs

Message ID 1537784193-24431-4-git-send-email-anand.jain@oracle.com (mailing list archive)
State New, archived
Headers show
Series Fix _scratch_mkfs_sized() for btrfs | expand

Commit Message

Anand Jain Sept. 24, 2018, 10:16 a.m. UTC
If btrfs need to be tested at its default blockgroup which is non-mixed,
then it needs at least ~200mb (upward round off to nearest 100'),
instead of 50mb use 200mb to test this test case.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 tests/generic/077 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/generic/077 b/tests/generic/077
index ef6af18c83e3..60c3493451c7 100755
--- a/tests/generic/077
+++ b/tests/generic/077
@@ -49,8 +49,7 @@  rm -f $seqres.full
 _scratch_unmount >/dev/null 2>&1
 echo "*** MKFS ***"                         >>$seqres.full
 echo ""                                     >>$seqres.full
-SIZE=`expr 50 \* 1024 \* 1024`
-_scratch_mkfs_sized $SIZE                   >>$seqres.full 2>&1 \
+_scratch_mkfs_sized $((200 * 1024 *1024))   >>$seqres.full 2>&1 \
 	|| _fail "mkfs failed"
 _scratch_mount
 mkdir $SCRATCH_MNT/subdir