[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test suite for parted ?
From: |
Andrew Clausen |
Subject: |
Re: test suite for parted ? |
Date: |
Wed, 11 Oct 2000 16:34:37 +1100 |
Thomas Roelz wrote:
>
> Hi all,
>
> I'm currently using parted for resizing FAT partitions and I'd like
> to know if there is some kind of a test suite used by the parted
> developers. I think it is very tedious to create all the patholigical
> Windows installations one can think of again and again for testing
> purposes. So how is it tested?
We have a regression test suite, which is distributed with Parted.
It's in debug/test/* It's quite small at the moment (~40 tests in
1.2.x), but, when I get time... (yet another thing on the massive
TODO).
To use it, modify debug/test/testrc, and run "debug/test/test" (from
that directory). You can pass a parameter, and that will limit what
tests are run. Eg:
./test fs # only tests file systems
./test disk # only tests disk labels
./test fat # tests FAT only
etc.
It just greps for the first argument on that directory, looking for
a script to run ;-)
> BTW: I'm asking this because I want to get a feeling about how
> reliable parted is. I tested it for myself with different
> configurations (and it performed very well) but I wonder if
> there might be a systematic test.
Yep :-)
> BTW2: Erroneously I posted this also to address@hidden If it
> should find its way to the list from there I'm sorry for
> the double posting.
address@hidden should work. The lists are a bit broken at the moment,
because the mailing list stuff is all being changed...
BTW: Parted will tend to have an assertion fail (and therefore, an
exception thrown to the user) before destroying a file system / disk
label.
Andrew Clausen