[parted-devel] [PATCH] tests: use scsi_debug to test-for 4k-sector-specific bug

Jim Meyering jim at meyering.net
Mon Oct 19 13:09:49 UTC 2009


FYI, I've just pushed this:

Before, I was testing by simulating >512-byte sectors via envvar
settings like PARTED_SECTOR_SIZE=8192.  This new method is better
for several reasons:
  - more realistic (exercises the same code paths that real hardware would use)
  - lets us simulate alignment offsets and differing phys/logical ratios

Also, this test adds functions that will doubtless made more generic
and will shortly be factored out, so they can be used from other
test scripts.



More information about the parted-devel mailing list