tests: Add new test f_rehash_dir

Add a new test which tests to make sure e2fsck -D works correctly.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
bitmap-optimize
Theodore Ts'o 2010-03-14 23:40:55 -04:00
parent 1601b10e65
commit ec65fa57a6
4 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,10 @@
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information
test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
test_filesys: 105/2048 files (2.9% non-contiguous), 336/512 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: 105/2048 files (3.8% non-contiguous), 336/512 blocks
Exit status is 0

BIN
tests/f_rehash_dir/image.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
FSCK_OPT=-yfD
. $cmd_dir/run_e2fsck