From: Theodore Ts'o Date: Wed, 19 Aug 2009 05:16:47 +0000 (-0400) Subject: f_illitable_flexbg: Add new test X-Git-Tag: v1.41.9~5 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=edc9e25634ceba533f9215b0fb2e56bbc0587326;p=tools%2Fe2fsprogs.git f_illitable_flexbg: Add new test Signed-off-by: "Theodore Ts'o" --- diff --git a/tests/f_illitable_flexbg/expect.1 b/tests/f_illitable_flexbg/expect.1 new file mode 100644 index 0000000..2d8bd0c --- /dev/null +++ b/tests/f_illitable_flexbg/expect.1 @@ -0,0 +1,27 @@ +../e2fsck/e2fsck: Group descriptors look bad... trying backup blocks... +One or more block group descriptor checksums are invalid. Fix? yes + +Group descriptor 0 checksum is invalid. FIXED. +Inode table for group 1 is not in group. (block 0) +WARNING: SEVERE DATA LOSS POSSIBLE. +Relocate? yes + +Group descriptor 1 checksum is invalid. FIXED. +Group descriptor 2 checksum is invalid. FIXED. +Group descriptor 3 checksum is invalid. FIXED. +Pass 1: Checking inodes, blocks, and sizes +Relocating group 1's inode table to 142... +Restarting e2fsck from the beginning... +Group descriptor 1 checksum is invalid. FIXED. +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 +Inode bitmap differences: -(65--128) +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 12/256 files (0.0% non-contiguous), 31163/32768 blocks +Exit status is 1 diff --git a/tests/f_illitable_flexbg/expect.2 b/tests/f_illitable_flexbg/expect.2 new file mode 100644 index 0000000..8ef43c2 --- /dev/null +++ b/tests/f_illitable_flexbg/expect.2 @@ -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/256 files (0.0% non-contiguous), 31163/32768 blocks +Exit status is 0 diff --git a/tests/f_illitable_flexbg/image.gz b/tests/f_illitable_flexbg/image.gz new file mode 100755 index 0000000..7fa1446 Binary files /dev/null and b/tests/f_illitable_flexbg/image.gz differ diff --git a/tests/f_illitable_flexbg/name b/tests/f_illitable_flexbg/name new file mode 100644 index 0000000..58b0850 --- /dev/null +++ b/tests/f_illitable_flexbg/name @@ -0,0 +1 @@ +illegal inode table with FLEX_BG