5/19 e2fsprogs f_extents_ee_len test
PATCH 1/1 5/19 e2fsprogs f_extents_ee_len test
Regression test for a bad ee_len field in an extent file. Binary patch file.
Signed-off-by Andreas Dilger <[email protected]>
Signed-off-by Girish Shilamkar <[email protected]>
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.
tests/f_extents_ee_len/expect.1 new file +30 -0
@@ -0,0 +1,30 @@ +Pass 1: Checking inodes, blocks, and sizes +Inode 12 has high 16 bits of extent/index block set +Clear? yes + +High 16 bits of extent/index block set +CLEARED. +High 16 bits of extent/index block set +CLEARED. +Inode 12 has corrupt extent at block 16 (logical 7311) length 16 +Clear? yes + +Inode 12, i_blocks is 3200, should be 3170. Fix? yes + +Pass 2: Checking directory structure +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +Block bitmap differences: +7195 -(7311--7326) +Fix? yes + +Free blocks count wrong for group #0 (5486, counted=5501). +Fix? yes + +Free blocks count wrong (12878, counted=12893). +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 12/4016 files (8.3% non-contiguous), 3139/16032 blocks +Exit status is 1
tests/f_extents_ee_len/expect.2 new file +7 -0
@@ -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: 12/4016 files (8.3% non-contiguous), 3139/16032 blocks +Exit status is 0
tests/f_extents_ee_len/name new file +1 -0
@@ -0,0 +1 @@ +corrupt ee_len in first extent in block 7747
tests/f_extents_ee_len/image.gz new file +1 -0
@@ -0,0 +1 @@ +�A_�Eimage ���U����'