From: Eryu Guan <eguan@redhat.com>
To: fstests@vger.kernel.org
Cc: misono.tomohiro@jp.fujitsu.com, linux-xfs@vger.kernel.org,
Eryu Guan <eguan@redhat.com>
Subject: [PATCH v2 0/3] fix failures caused by mount error msg change in util-linux v2.30
Date: Tue, 14 Nov 2017 20:33:07 +0800 [thread overview]
Message-ID: <20171114123310.25286-1-eguan@redhat.com> (raw)
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
v2:
- remove not-needed _filter_scratch from tests
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 | 8 +++---
tests/generic/050.out | 8 +++---
tests/overlay/035 | 9 +++++--
tests/overlay/036 | 4 +--
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, 95 insertions(+), 27 deletions(-)
--
2.13.6
next reply other threads:[~2017-11-14 12:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-14 12:33 Eryu Guan [this message]
2017-11-14 12:33 ` [PATCH v2 1/3] fstests: filter mount error message for EUCLEAN and ESTALE Eryu Guan
2017-11-23 9:04 ` Amir Goldstein
2017-11-23 9:28 ` Eryu Guan
2017-11-14 12:33 ` [PATCH v2 2/3] overlay/036: filter busy mount message Eryu Guan
2017-11-23 8:57 ` Amir Goldstein
2017-11-14 12:33 ` [PATCH v2 3/3] fstests: filter readonly mount error messages Eryu Guan
2017-11-23 8:32 ` Amir Goldstein
2017-11-23 8:45 ` Eryu Guan
2017-11-23 7:05 ` [PATCH v2 0/3] fix failures caused by mount error msg change in util-linux v2.30 Eryu Guan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171114123310.25286-1-eguan@redhat.com \
--to=eguan@redhat.com \
--cc=fstests@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=misono.tomohiro@jp.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).