filesystem tests: update ocfs2 fs size on Trusty

Using Ubuntu 14.04, test fails because 'blkid' < 2.21 doesn't recognize
'ocfs2' filesystem smaller than 108Mo:
6baa150398

filesystem: fix MKFS_FORCE_FLAGS for ocfs2

mkfs.ocfs2 -F won't work because mkfs.ocfs2 asks for a confirmation:

    $ mkfs.ocfs2 -F img
    mkfs.ocfs2 1.6.4
    Cluster stack: classic o2cb
    Overwriting existing ocfs2 partition.
    WARNING: Cluster check disabled.
    Proceed (y/N):

The undocumented 'x' switch must be used too.
This commit is contained in:
Pierre-Louis Bonicoli 2018-04-26 03:03:46 +02:00 committed by Brian Coca
commit 19356c03e8
5 changed files with 15 additions and 1 deletions

View file

@ -230,6 +230,7 @@ class Btrfs(Filesystem):
class Ocfs2(Filesystem):
MKFS = 'mkfs.ocfs2'
MKFS_FORCE_FLAGS = '-Fx'
class VFAT(Filesystem):