From: Eric Sandeen <sandeen@redhat.com>
To: xfs mailing list <xfs@oss.sgi.com>,
ext4 development <linux-ext4@vger.kernel.org>
Subject: Re: [PATCH] xfstests: enable many tests to run on ext2/3/4
Date: Mon, 25 May 2009 10:31:46 -0500 [thread overview]
Message-ID: <4A1AB9E2.9050503@redhat.com> (raw)
In-Reply-To: <4A15B649.70801@redhat.com>
Eric Sandeen wrote:
> This gets many of the tests running on ext4 (and should on ext2/ext3
> as well).
>
> A few things could still be cleaned up; rather than -xfs, -ext3, -ext4
> etc it'd be better to do --fstype xfs or whatnot, and lose as much of
> the special-casing as possible. But this gets it going, so maybe
> worth merging now as a first step.
>
> This creates a new supported_fs "generic" type which should run on
> any generic filesystem (well, assuming it supports acls & xattrs, along
> with general posix-ness).
>
> It also adds a "generic" group, so you can do:
>
> ./check -ext4 -g generic
>
> and that way it'll avoid any fs-specific tests. They wouldn't
> fail anyway, but it gets noisy to see all the "notrun" tests.
For the uninitiated :) This applies on top of:
http://git.kernel.org/?p=fs/xfs/xfstests-dev.git
Apply my patch & build it with make... you'll need xfsprogs,
xfsprogs-devel, and xfsprogs-qa-devel (or make install-dev, make
install-qa from the xfsprogs tarball)* A few other standard devel
packages like e2fsprogs-devel, acl-devel, attr-devel, libaio-devel are
needed too.
edit a local.config file in the top level dir:
TEST_DEV=/dev/sdb1 # device containing TEST PARTITION
TEST_DIR=/mnt/test # mount point of TEST PARTITION
SCRATCH_DEV=/dev/sdb3 # device containing SCRATCH PARTITION
SCRATCH_MNT=/mnt/scratch # mount point for SCRATCH PARTITION
mkfs.ext4 the $TEST_DEV
./check -ext4 -g generic
-Eric
*another TODO is probably to make ./configure cope with lack of at least
the xfsprogs-qa-devel headers. There's still some work to make this
cleaner/easier but this at least gets things going.
prev parent reply other threads:[~2009-05-25 15:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-21 20:15 [PATCH] xfstests: enable many tests to run on ext2/3/4 Eric Sandeen
2009-05-24 14:39 ` Christoph Hellwig
2009-05-24 16:38 ` Eric Sandeen
2009-05-25 15:31 ` Eric Sandeen [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=4A1AB9E2.9050503@redhat.com \
--to=sandeen@redhat.com \
--cc=linux-ext4@vger.kernel.org \
--cc=xfs@oss.sgi.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).