OSDN Git Service

tests: exercise and document the HFS-probe bug fix
authorJim Meyering <meyering@redhat.com>
Sat, 5 Nov 2011 19:49:18 +0000 (20:49 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 5 Nov 2011 19:55:51 +0000 (20:55 +0100)
commit723ca1f12f13ae108eba611d72de26591e1214ba
tree7b73887f7883717bfe5378b5fdbc4667e393ffd4
parent6bc7e1965078579e9855f851254d67b3d8165784
tests: exercise and document the HFS-probe bug fix

Simply zeroing out the total_blocks and block_size members of the
on-disk _HfsMasterDirectoryBlock would provoke a failed assertion
any time parted tried to probe that partition.
* tests/t2500-probe-corrupt-hfs.sh: New script.
* tests/Makefile.am (TESTS): Add it.
* NEWS (Bug fixes): Mention this.
.gitignore
NEWS
tests/Makefile.am
tests/t2500-probe-corrupt-hfs.sh [new file with mode: 0755]