Brian C. Lane wrote: > On Sat, Oct 15, 2011 at 11:29:07AM +0200, Jim Meyering wrote: >> >> Hi Brian, >> >> This looks like a fine bug fix. >> Can you write a test suite addition that >> creates an HFS file system and then corrupts >> it in a way that triggers the bug? > > I don't think I can, I don't think we have any way to construct a valid > HFS filesystem to run the test against.
I see mkfs.hfs in the hfsplus-tools package. There's already a function you can use to check for existence of the program: require_hfs_() { mkfs.hfs 2>&1 | grep '^usage:' \ || skip_ "This test requires HFS support." } _______________________________________________ bug-parted mailing list bug-parted@gnu.org https://lists.gnu.org/mailman/listinfo/bug-parted