bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regression Testing


From: leslie . polzer
Subject: Re: Regression Testing
Date: Mon, 5 Sep 2005 08:04:56 +0200
User-agent: mutt-ng/devel (Linux)

On Mon, Sep 05, 2005 at 02:47:08AM +0200, Håkon Løvdal wrote:
> 
> I advocate creating a specific test file format containing (only)
> the relevant sectors from the disk along with some corresponding
> meta-data. The meta-data would be located at the very beginning,
> containing a mapping table between offsets on the real disk and the
> corresponding offset within the test file. Following the meta-data the
> relevant sectors from the disk are just added (in any order as long as
> the mapping table is correct).
The code needed in libparted to support this would have to be tested thoroughly
so we do not get "false negatives".

> SUPER BONUS:
> 
> With such "record test file" option, debugging problems reported from
> users could be much easier to handle if the bug reporter could create
> a test file from his or her disk that the parted developers then could
> continue testing on themselves!
There's an additional bonus for file systems that do not support
swiss-cheese-like files.

The only problem I have with this approach is that it requires a lot more
work to get it running than, say, bash, or DejaGNU, for example.

Leslie

-- 
PGP-KID: 0x52D70289

Attachment: pgpeM5uBU1vwl.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]