From: "Theodore Ts'o" <tytso@mit.edu>
To: Eryu Guan <eguan@redhat.com>
Cc: fstests@vger.kernel.org
Subject: Re: [PATCH v2] fstests: add the missing _supported_fs to tests
Date: Thu, 9 Mar 2017 00:58:59 -0500 [thread overview]
Message-ID: <20170309055859.ilytxmonuxm2ffem@thunk.org> (raw)
In-Reply-To: <20170309042641.GH14226@eguan.usersys.redhat.com>
On Thu, Mar 09, 2017 at 12:26:41PM +0800, Eryu Guan wrote:
> On Wed, Mar 08, 2017 at 09:10:50PM -0500, Theodore Ts'o wrote:
> > On Thu, Mar 09, 2017 at 01:42:57AM +0800, Eryu Guan wrote:
> > > There're many tests that are missing _supported_fs check. I first
> > > noticed this by running ext4/308 under an XFS test config by
> > > accident then realized that there might be more tests missing
> > > supported fs type check.
> >
> > Stupid question --- I had assumed that all tests in xfs/* were
> > implicitly xfs-only and all tests in btrfs/* were implicitly
> > btrfs/only, and so on. Is that not true?
>
> Yes, that's true if you're not specifying tests on ./check command line.
> But ./check still tries to run the tests given on command line. e.g.
>
> ./check -s xfs ext4/308
>
> This rarely happens so it's not a big issue. I just happened to hit it
> and thought it'd be better to fix it :)
If you think it's better having explicit _supported_fs lines for all
tests, I don't have any strong objections; I just wonder if it's
necessary.
Today "_supported_fs generic" is a no-op. And I wonder if we could
just simply encoding an explicit check for FSTYP must equal the test
directory name if the directory name is not "generic" or "shared" in
the check script?
> [Off topic] BTW, does the following patch look OK to you?
>
> [PATCH] generic: require journal in shutdown tests
>
> It skips shutdown tests on fs without journal, e.g. ext2 driving by ext4
It looks great, thanks for sending it out. I've sent a reviewed by
under separate cover.
- Ted
prev parent reply other threads:[~2017-03-09 5:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-08 11:54 [PATCH] ext4/308: add the missing _supported_fs Eryu Guan
2017-03-08 17:42 ` [PATCH v2] fstests: add the missing _supported_fs to tests Eryu Guan
2017-03-09 2:10 ` Theodore Ts'o
2017-03-09 4:26 ` Eryu Guan
2017-03-09 5:58 ` Theodore Ts'o [this message]
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=20170309055859.ilytxmonuxm2ffem@thunk.org \
--to=tytso@mit.edu \
--cc=eguan@redhat.com \
--cc=fstests@vger.kernel.org \
/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