mirror of https://github.com/vitalif/e2fsprogs
tests: add new test f_eofblocks
Since we have changed the eofblocks handling in e2fsck (by removing the need for the EOFBLOCKS_FL flag), we should have a test to check out how we handle uninitialized and initialized blocks which are exist beyond i_size, with files that have (and don't have) the EOFBLOCKS_FL. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>bitmap-optimize
parent
2743499061
commit
7a069f1ca9
|
@ -0,0 +1,13 @@
|
|||
Pass 1: Checking inodes, blocks, and sizes
|
||||
Inode 30, i_size is 2048, should be 4096. Fix? yes
|
||||
|
||||
Inode 31, i_size is 2048, should be 4096. Fix? yes
|
||||
|
||||
Pass 2: Checking directory structure
|
||||
Pass 3: Checking directory connectivity
|
||||
Pass 4: Checking reference counts
|
||||
Pass 5: Checking group summary information
|
||||
|
||||
test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
|
||||
test_filesys: 31/56 files (29.0% non-contiguous), 83/400 blocks
|
||||
Exit status is 1
|
|
@ -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: 31/56 files (29.0% non-contiguous), 83/400 blocks
|
||||
Exit status is 0
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
blocks after i_size
|
Loading…
Reference in New Issue