Whamcloud - gitweb
tests: add regression tests for inodes with bad checksums
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 3 Aug 2014 03:51:31 +0000 (23:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 3 Aug 2014 03:51:31 +0000 (23:51 -0400)
commit1a27630fcffd3cddbbee7b38e0e5eff710dce85a
tree21183e723f745773981ce5b9b4a78821c170d4b7
parentf093caf15eefdf9308b13ac2a076891b4bfc1eb9
tests: add regression tests for inodes with bad checksums

Add regression tests to e2fsck to examine how it deals with inode
table blocks which (a) have been zero'd; (b) have been one'd; (c) have
corrupt inodes with obvious problems; and (d) have inodes with
non-obvious problems.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/f_bad_inode_csum/expect.1 [new file with mode: 0644]
tests/f_bad_inode_csum/expect.2 [new file with mode: 0644]
tests/f_bad_inode_csum/image.gz [new file with mode: 0644]
tests/f_bad_inode_csum/name [new file with mode: 0644]