
4 Mar
2010
4 Mar
'10
5:25 a.m.
Eric Blake wrote: ...
+# List of host block devices that the test suite can trash all +# data on, for purposes of testing. You have been warned !
Indeed!
The intrepid souls who run these tests might appreciate a crosscheck. Let them specify more than just a block device name, where it's way too easy to introduce a typo and clobber something important. Potential crosscheck-able data: - device size - device "model" Both are reported by parted -s $device. In clobbering a device via Parted's test suite, I require a <device_name,size> pair. Then, when I clobber things on my 1 or 2GB USB key, there's no risk I'll accidentally destroy data on "real" disks, since the real ones are all far larger.