mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-23 10:04:01 +08:00
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:
parent
2c28057878
commit
cbc6a5ae4f
4
tests/f_preen_htree_csum/expect.1
Normal file
4
tests/f_preen_htree_csum/expect.1
Normal 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
|
7
tests/f_preen_htree_csum/expect.2
Normal file
7
tests/f_preen_htree_csum/expect.2
Normal 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
|
BIN
tests/f_preen_htree_csum/image.gz
Normal file
BIN
tests/f_preen_htree_csum/image.gz
Normal file
Binary file not shown.
1
tests/f_preen_htree_csum/name
Normal file
1
tests/f_preen_htree_csum/name
Normal file
@ -0,0 +1 @@
|
||||
fix a bad htree checksum in preen mode
|
2
tests/f_preen_htree_csum/script
Normal file
2
tests/f_preen_htree_csum/script
Normal file
@ -0,0 +1,2 @@
|
||||
FSCK_OPT=-pf
|
||||
. $cmd_dir/run_e2fsck
|
Loading…
Reference in New Issue
Block a user