summaryrefslogtreecommitdiff
path: root/tests/f_illitable_flexbg
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@whamcloud.com>2012-02-07 21:11:21 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-02-07 21:11:21 -0500
commit454ac9d56acb643c48222c71f2b0e63926783b17 (patch)
treec2963ccb654e5e0038f1fe2d0be019098c961ca9 /tests/f_illitable_flexbg
parent40b9cc517351dbedff43ab4f4da59af4921b6d25 (diff)
downloade2fsprogs-454ac9d56acb643c48222c71f2b0e63926783b17.tar.gz
libext2fs: quiet spurious group checksum errors
If we have to read the backup group descriptor checksums, the UNINIT flags are cleared to ensure that all of the inodes in the filesystem are scanned. However, the code that reset the UNINIT flags did not reset the group checksum, and this produced many spurious error messages in e2fsck. Group descriptor 0 checksum is invalid. FIXED. Group descriptor 1 checksum is invalid. FIXED. : : Recompute checksums after modifying group descriptors to avoid these error messages. Remove expected error messages in f_illitable_flexbg. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tests/f_illitable_flexbg')
-rw-r--r--tests/f_illitable_flexbg/expect.18
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/f_illitable_flexbg/expect.1 b/tests/f_illitable_flexbg/expect.1
index 2d8bd0ce..af30bd4e 100644
--- a/tests/f_illitable_flexbg/expect.1
+++ b/tests/f_illitable_flexbg/expect.1
@@ -1,17 +1,13 @@
../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...
+One or more block group descriptor checksums are invalid. Fix? yes
+
Group descriptor 1 checksum is invalid. FIXED.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure