On Fri, 2002-08-23 at 11:28, Greg Freemyer wrote:
> >> Answering for Eric since he is out for a few days.
> >> Greg, take a look in cmd/xfstests there is a set of 50 or 60 tests in
> >> there. Hopefully is is not too contorted to create a new test case.
> >> How much of the volume setup can be done automatically by the test,
> >> I presume all it needs is some partitions to play with.
> >> Good idea by the way, adding test cases like this would be great.
> >> Thanks
> >> Steve
> I just took a look at the cmd/xfstests/README and it looks like the process
> is well documented.
> I will download the whole set and first verify the test system runs on my
> system, then try to put together a new test for snapshots.
> The readme talks about the user providing 2 partitions, one with xfs on it,
> and one scratch.
> I assume I should use the scratch partition to build a lvm structure on, then
> format it with xfs.
> One high level question, at the start of the test I assume I should check for
> the correct installation of LVM and error out if it is not available.
> Is that a reasonable behavior?
Yep, as you can see there are several tests which will skip execution if
certain features are not available. Probably testing the kernel for lvm
support (after attempting to load the module) would be a good thing.
> Even higher level, as I have questions, should I ask them on the list, or is
> there a QA person there I should e-mail directly.
Well, you can ask on the list, or ask Nathan Scott (nathans@xxxxxxx), he
is the one most familiar with the tests. He is in Australia, so do not
expect instant responses.
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx