Commit [8e2035] Maximize Restore History

tests: add tests for directory entry blocks with checksum errors

Add some regression tests to examine how e2fsck handles directory
entry blocks and htree blocks with (a) malformed directory entries;
(b) incorrect checksums; or (c) obviously garbage entries.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

Darrick J. Wong Darrick J. Wong 2014-08-03

Theodore Ts'o Theodore Ts'o 2014-08-03

added tests/f_dir_bad_csum
added tests/f_dir_bad_csum/expect.1
added tests/f_dir_bad_csum/expect.2
added tests/f_dir_bad_csum/image.gz
added tests/f_dir_bad_csum/name
added tests/f_htree_bad_csum
added tests/f_htree_bad_csum/expect.1
added tests/f_htree_bad_csum/expect.2
added tests/f_htree_bad_csum/image.gz
added tests/f_htree_bad_csum/name
changed tests
tests/f_dir_bad_csum/expect.1 Diff Switch to side-by-side view
Loading...
tests/f_dir_bad_csum/expect.2 Diff Switch to side-by-side view
Loading...
tests/f_dir_bad_csum/image.gz Diff Switch to side-by-side view
Loading...
tests/f_dir_bad_csum/name Diff Switch to side-by-side view
Loading...
tests/f_htree_bad_csum/expect.1 Diff Switch to side-by-side view
Loading...
tests/f_htree_bad_csum/expect.2 Diff Switch to side-by-side view
Loading...
tests/f_htree_bad_csum/image.gz Diff Switch to side-by-side view
Loading...
tests/f_htree_bad_csum/name Diff Switch to side-by-side view
Loading...
tests
Directory.