tests: add test for "e2fsck: fix bad htree checksums in preen mode"

Add a test for commit bbe08adac044 ("e2fsck: fix bad htree checksums
in preen mode").

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
Theodore Ts'o 2023-03-16 23:29:28 -04:00
parent 2c28057878
commit cbc6a5ae4f
5 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
test_filesys: Problem in HTREE directory inode 12: internal node fails checksum.
HTREE INDEX CLEARED.
test_filesys: 8204/10000 files (0.0% non-contiguous), 1551/4096 blocks
Exit status is 1

View File

@ -0,0 +1,7 @@
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
test_filesys: 8204/10000 files (0.0% non-contiguous), 1551/4096 blocks
Exit status is 0

Binary file not shown.

View File

@ -0,0 +1 @@
fix a bad htree checksum in preen mode

View File

@ -0,0 +1,2 @@
FSCK_OPT=-pf
. $cmd_dir/run_e2fsck