Whamcloud - gitweb
tests: test e2fsck recovery of corrupt descriptor blocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 11 Sep 2014 19:31:41 +0000 (12:31 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 11 Sep 2014 21:08:38 +0000 (17:08 -0400)
commit2646b48d47267e255db54affd1f788c61c7cfb6b
tree22e3b4c53c4cc761b7531f5f9339576a1f5285d5
parentb0295237b928f84a733c9a41c6acbf6e0db1df33
tests: test e2fsck recovery of corrupt descriptor blocks

Test e2fsck' ability to deal with (a) corrupt descriptor block
checksum; (b) obviously bad journal block tid; and (c) corrupt journal
blocks.  These should exercise the journal recovery infinite loop
bugfix earlier in this patchset.

This test also ensures that (with metadata_csum and journal_csum_v3)
journal replay continues past a corrupt journal block.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
12 files changed:
tests/j_corrupt_descr_csum/expect [new file with mode: 0644]
tests/j_corrupt_descr_csum/image.gz [new file with mode: 0644]
tests/j_corrupt_descr_csum/name [new file with mode: 0644]
tests/j_corrupt_descr_csum/script [new file with mode: 0644]
tests/j_corrupt_descr_tid/expect [new file with mode: 0644]
tests/j_corrupt_descr_tid/image.gz [new file with mode: 0644]
tests/j_corrupt_descr_tid/name [new file with mode: 0644]
tests/j_corrupt_descr_tid/script [new file with mode: 0644]
tests/j_corrupt_journal_block/expect [new file with mode: 0644]
tests/j_corrupt_journal_block/image.gz [new file with mode: 0644]
tests/j_corrupt_journal_block/name [new file with mode: 0644]
tests/j_corrupt_journal_block/script [new file with mode: 0644]