aboutsummaryrefslogtreecommitdiffstats
path: root/tests/f_illitable
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1997-04-29 16:17:09 +0000
committerTheodore Ts'o <tytso@mit.edu>1997-04-29 16:17:09 +0000
commit19c78dc07fce2d6f39b5e541562afc3ca1ea38ff (patch)
tree028d1af38c00e2cb267cb966cb68028b0a007b44 /tests/f_illitable
parent21c84b71e205b5ab13f14343da5645dcc985856d (diff)
downloadandroid_external_e2fsprogs-19c78dc07fce2d6f39b5e541562afc3ca1ea38ff.tar.gz
android_external_e2fsprogs-19c78dc07fce2d6f39b5e541562afc3ca1ea38ff.tar.bz2
android_external_e2fsprogs-19c78dc07fce2d6f39b5e541562afc3ca1ea38ff.zip
Many files:
Checked in e2fsprogs-1.07
Diffstat (limited to 'tests/f_illitable')
-rw-r--r--tests/f_illitable/expect.138
-rw-r--r--tests/f_illitable/expect.27
-rw-r--r--tests/f_illitable/image.gzbin0 -> 396 bytes
-rw-r--r--tests/f_illitable/name1
4 files changed, 46 insertions, 0 deletions
diff --git a/tests/f_illitable/expect.1 b/tests/f_illitable/expect.1
new file mode 100644
index 00000000..6c6b7f59
--- /dev/null
+++ b/tests/f_illitable/expect.1
@@ -0,0 +1,38 @@
+Note: if there is several inode or block bitmap blocks
+which require relocation, or one part of the inode table
+which must be moved, you may wish to try running e2fsck
+the '-b 8193' option first. The problem may lie only with
+the primary block group descriptor, and the backup block
+group descriptor may be OK.
+
+Inode table for group 0 is not in group. (block 40000)
+WARNING: SEVERE DATA LOSS POSSIBLE.
+Relocate? yes
+
+../e2fsck/e2fsck: A block group is missing an inode table while reading bad blocks inode
+This doesn't bode well, but we'll try to go on...
+Pass 1: Checking inodes, blocks, and sizes
+Relocating group 0's inode table to 5...
+Restarting e2fsck from the beginning...
+Pass 1: Checking inodes, blocks, and sizes
+Root inode is not a directory. Clear? yes
+
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Root inode not allocated. Allocate? yes
+
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+Fix summary information? yes
+
+Block bitmap differences: -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21. FIXED
+Free blocks count wrong for group 0 (78, counted=90). FIXED
+Free blocks count wrong (78, counted=90). FIXED
+Inode bitmap differences: -11. FIXED
+Free inodes count wrong for group #0 (21, counted=22). FIXED
+Directories count wrong for group #0 (2, counted=1). FIXED
+Free inodes count wrong (21, counted=22). FIXED
+
+test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 10/32 files (0.0% non-contiguous), 10/100 blocks
+Exit status is 1
diff --git a/tests/f_illitable/expect.2 b/tests/f_illitable/expect.2
new file mode 100644
index 00000000..86ea8590
--- /dev/null
+++ b/tests/f_illitable/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: 10/32 files (0.0% non-contiguous), 10/100 blocks
+Exit status is 0
diff --git a/tests/f_illitable/image.gz b/tests/f_illitable/image.gz
new file mode 100644
index 00000000..1b021942
--- /dev/null
+++ b/tests/f_illitable/image.gz
Binary files differ
diff --git a/tests/f_illitable/name b/tests/f_illitable/name
new file mode 100644
index 00000000..631e73be
--- /dev/null
+++ b/tests/f_illitable/name
@@ -0,0 +1 @@
+illegal inode table