2007-07-20 22:09:36

by Eric Sandeen

[permalink] [raw]
Subject: [PATCH e2fsprogs] full first bg mkfs test

Testcase for inode table extending to last block of first bg

(test image attached, not sure how to make a binary diff here!)

(image is *not* corrupt and should check cleanly twice)

Signed-off-by: Eric Sandeen <[email protected]>

Index: e2fsprogs-1.40.2/tests/f_full_bg/expect.1
===================================================================
--- /dev/null
+++ e2fsprogs-1.40.2/tests/f_full_bg/expect.1
@@ -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: 11/3744 files (9.1% non-contiguous), 685/769 blocks
+Exit status is 0
Index: e2fsprogs-1.40.2/tests/f_full_bg/expect.2
===================================================================
--- /dev/null
+++ e2fsprogs-1.40.2/tests/f_full_bg/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: 11/3744 files (9.1% non-contiguous), 685/769 blocks
+Exit status is 0
Index: e2fsprogs-1.40.2/tests/f_full_bg/name
===================================================================
--- /dev/null
+++ e2fsprogs-1.40.2/tests/f_full_bg/name
@@ -0,0 +1 @@
+inode table in last block of first bg
Index: e2fsprogs-1.40.2/tests/f_full_bg/image.gz
===================================================================
Binary files /dev/null and e2fsprogs-1.40.2/tests/f_full_bg/image.gz differ



Attachments:
image.gz (1.85 kB)