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

Message ID 1537784193-24431-4-git-send-email-anand.jain@oracle.com
State New
Headers show
Series
  • Fix _scratch_mkfs_sized() for btrfs
Related show

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(-)

Patch
diff mbox series

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