]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/050: fix ro blockdev mount of xfs with quota
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 18 Dec 2018 20:36:03 +0000 (12:36 -0800)
committerEryu Guan <guaneryu@gmail.com>
Sat, 22 Dec 2018 14:19:03 +0000 (22:19 +0800)
commitb0415daaa96877ac6a5d75cb264dddc0c6785384
treeb7161da20c78342e5bd795ca3ae5a11be8f94199
parent6cef63e6683563fa2297cb12b32f250bda5d5759
generic/050: fix ro blockdev mount of xfs with quota

In XFS, mounting with quota always require a writable device.  If
the block device is read only, the mount fails, which fails this
test.  Since this is expected, work around this by simulating the
golden output when we expect a mount failure.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/050