public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] fix failures caused by mount error msg change in util-linux v2.30
@ 2017-11-14 10:53 Eryu Guan
  2017-11-14 10:53 ` [PATCH 1/3] fstests: filter mount error message for EUCLEAN and ESTALE Eryu Guan
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Eryu Guan @ 2017-11-14 10:53 UTC (permalink / raw)
  To: fstests; +Cc: misono.tomohiro, linux-xfs, Eryu Guan

util-linux v2.30 changed mount error message again and caused several
tests to fail (reported by Misono Tomohiro, thanks!), this is mainly due
to two util-linux commits in v2.30-rc1

6dede2f2f7c5 libmount: support MS_RDONLY on write-protected devices
ea848180dd34 libmount: add mnt_context_get_excode()

This patchset introduced _filter_ending_dot, _filter_error_mount and
_filter_busy_mount and improved _filter_ro_mount to deal with all these
output differences between old and new util-linux versions.

I've tested and confirmed generic/050, xfs/005 and overlay/03[567] all
passed with both old and new util-linux. xfs/333 is always _notrun
because there's no realtime-rmapbt support yet.

Perhaps there're better and cleaner ways to fix the problems, please
help review and advise, thanks!

Eryu

Eryu Guan (3):
  fstests: filter mount error message for EUCLEAN and ESTALE
  overlay/036: filter busy mount message
  fstests: filter readonly mount error messages

 common/filter         | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 tests/generic/050     |  2 +-
 tests/generic/050.out |  8 +++---
 tests/overlay/035     |  9 +++++--
 tests/overlay/036     |  9 +++++--
 tests/overlay/036.out |  4 +--
 tests/overlay/037     |  4 +--
 tests/overlay/037.out |  4 +--
 tests/xfs/005         |  7 +-----
 tests/xfs/333         |  2 +-
 tests/xfs/333.out     |  2 +-
 11 files changed, 97 insertions(+), 24 deletions(-)

-- 
2.13.6


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-14 11:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-14 10:53 [PATCH 0/3] fix failures caused by mount error msg change in util-linux v2.30 Eryu Guan
2017-11-14 10:53 ` [PATCH 1/3] fstests: filter mount error message for EUCLEAN and ESTALE Eryu Guan
2017-11-14 11:44   ` Amir Goldstein
2017-11-14 10:54 ` [PATCH 2/3] overlay/036: filter busy mount message Eryu Guan
2017-11-14 11:37   ` Amir Goldstein
2017-11-14 11:41     ` Amir Goldstein
2017-11-14 10:54 ` [PATCH 3/3] fstests: filter readonly mount error messages Eryu Guan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox