From: Anand Jain <anand.jain@oracle.com>
To: dsterba@suse.cz, Qu Wenruo <quwenruo@cn.fujitsu.com>,
linux-btrfs@vger.kernel.org, clm@fb.com
Subject: Re: [PATCH 1/4] Btrfs-progs: add regression tests for sysfs contents during btrfs device management
Date: Thu, 19 Feb 2015 14:33:31 +0800 [thread overview]
Message-ID: <54E583BB.2010707@oracle.com> (raw)
In-Reply-To: <20150211181911.GI28877@twin.jikos.cz>
On 02/12/2015 02:19 AM, David Sterba wrote:
> On Mon, Feb 09, 2015 at 04:24:12PM +0800, Qu Wenruo wrote:
>> This tests are not even not bind to btrfs-progs.
>> They are kernel tests in fact.
>>
>> So btrfs-progs isn't the best place for it.
>
> Well, I agree. Userspace tools mostly exercise the checker, repair or
> image, ie. mostly offline actions. The mount test that now exists is to
> really check that the fixed filesystem can be mounted.
>
> The tests Anand proposes perform add, replace, seeding etc. That really
> belongs to fstests.
we could get sysfs data collection in fstests like this..
_btrfs_progs()
{
btrfs $*
[[ -z TEST_SYSFS ]] && collect_sysfs_data
}
and TEST_SYSFS must be set in the config file.
Similarly for mount, unmount, modload and modunload etc..
For now my patches are already tested with test-btrfs-devmgt, which
is uploaded here git@github.com:asj/test-btrfs-devmgt.git for reference,
(but I don't intend to maintain it though).
Thanks, Anand
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2015-02-19 6:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-09 7:05 [PATCH 0/4 v2] test-btrfs-devmgt.sh Anand Jain
2015-02-09 7:05 ` [PATCH 1/4] Btrfs-progs: add regression tests for sysfs contents during btrfs device management Anand Jain
2015-02-09 8:24 ` Qu Wenruo
2015-02-11 18:19 ` David Sterba
2015-02-19 6:33 ` Anand Jain [this message]
2015-02-09 7:05 ` [PATCH 2/4] Btrfs-progs: adds simple to use seed test for test-btrfs-devmgt.sh Anand Jain
2015-02-09 7:05 ` [PATCH 3/4] Btrfs-progs: test-btrfs-devmgt.sh support if btrfs is root fs Anand Jain
2015-02-09 7:05 ` [PATCH 4/4] Btrfs-progs: test-btrfs-devmgt.sh have a safe defaults Anand Jain
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=54E583BB.2010707@oracle.com \
--to=anand.jain@oracle.com \
--cc=clm@fb.com \
--cc=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=quwenruo@cn.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).