OSDN Git Service

tests: add regression tests for superblocks with bad checksums
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 3 Aug 2014 03:50:34 +0000 (23:50 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 3 Aug 2014 03:50:34 +0000 (23:50 -0400)
commitf882feb3bbf7f2930a915549887e56eee8160811
tree755af2b077fa48c2e3fc5536ca70ace92af8fed0
parenta8a1ee12550f4ecd0bb7e75a60e25a57bcc5a0e9
tests: add regression tests for superblocks with bad checksums

Add regression tests to examine how e2fsck deals with random
superblock corruption such as obviously wrong fields and the checksum
itself being incorrect.

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