summaryrefslogtreecommitdiff
path: root/tests/f_illitable_flexbg
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-03-21 23:40:24 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-03-21 23:40:24 -0400
commit010c49cf499738c7a06de13077f31f2a12ecadeb (patch)
tree29bacbd072627bebcb93fe6218cfb4223683cfc2 /tests/f_illitable_flexbg
parent349b8a37c5077086f1cd57c6b1b13ec275af6a43 (diff)
downloade2fsprogs-010c49cf499738c7a06de13077f31f2a12ecadeb.tar.gz
e2fsck: report ext2fs_open2() and ext2fs_check_desc() errors
Print the actual errors returned by ext2fs_open2() and ext2fs_check_desc() before we fall back to the backup block group descriptors so that it's easier to see if there is some obscure failure that is causing e2fsck to think that it should use the backup block group descriptors. Addresses-Google-Bug: #6208183 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests/f_illitable_flexbg')
-rw-r--r--tests/f_illitable_flexbg/expect.11
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/f_illitable_flexbg/expect.1 b/tests/f_illitable_flexbg/expect.1
index 2d547285..fa42a0f8 100644
--- a/tests/f_illitable_flexbg/expect.1
+++ b/tests/f_illitable_flexbg/expect.1
@@ -1,3 +1,4 @@
+ext2fs_check_desc: Corrupt group descriptor: bad block for inode table
../e2fsck/e2fsck: Group descriptors look bad... trying backup blocks...
Inode table for group 1 is not in group. (block 0)
WARNING: SEVERE DATA LOSS POSSIBLE.