]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
f_illitable_flexbg: Add new test
authorTheodore Ts'o <tytso@mit.edu>
Wed, 19 Aug 2009 05:16:47 +0000 (01:16 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 19 Aug 2009 05:16:47 +0000 (01:16 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/f_illitable_flexbg/expect.1 [new file with mode: 0644]
tests/f_illitable_flexbg/expect.2 [new file with mode: 0644]
tests/f_illitable_flexbg/image.gz [new file with mode: 0755]
tests/f_illitable_flexbg/name [new file with mode: 0644]

diff --git a/tests/f_illitable_flexbg/expect.1 b/tests/f_illitable_flexbg/expect.1
new file mode 100644 (file)
index 0000000..2d8bd0c
--- /dev/null
@@ -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 (file)
index 0000000..8ef43c2
--- /dev/null
@@ -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 (executable)
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 (file)
index 0000000..58b0850
--- /dev/null
@@ -0,0 +1 @@
+illegal inode table with FLEX_BG