OSDN Git Service

tests: add test of an incorrect interior node in an extent tree
authorTheodore Ts'o <tytso@mit.edu>
Fri, 21 Dec 2012 02:48:08 +0000 (21:48 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 21 Dec 2012 02:48:08 +0000 (21:48 -0500)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/f_extent_interior_start_lblk/expect.1 [new file with mode: 0644]
tests/f_extent_interior_start_lblk/expect.2 [new file with mode: 0644]
tests/f_extent_interior_start_lblk/image.gz [new file with mode: 0644]
tests/f_extent_interior_start_lblk/name [new file with mode: 0644]

diff --git a/tests/f_extent_interior_start_lblk/expect.1 b/tests/f_extent_interior_start_lblk/expect.1
new file mode 100644 (file)
index 0000000..f5b7d46
--- /dev/null
@@ -0,0 +1,12 @@
+Pass 1: Checking inodes, blocks, and sizes
+Interior extent node level 0 of inode 12:
+Logical start 0 does not match logical start 2 at next level.  Fix? yes
+
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+
+test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 12/16 files (0.0% non-contiguous), 29/100 blocks
+Exit status is 1
diff --git a/tests/f_extent_interior_start_lblk/expect.2 b/tests/f_extent_interior_start_lblk/expect.2
new file mode 100644 (file)
index 0000000..06c6082
--- /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/16 files (0.0% non-contiguous), 29/100 blocks
+Exit status is 0
diff --git a/tests/f_extent_interior_start_lblk/image.gz b/tests/f_extent_interior_start_lblk/image.gz
new file mode 100644 (file)
index 0000000..0ed7128
Binary files /dev/null and b/tests/f_extent_interior_start_lblk/image.gz differ
diff --git a/tests/f_extent_interior_start_lblk/name b/tests/f_extent_interior_start_lblk/name
new file mode 100644 (file)
index 0000000..fbd5f58
--- /dev/null
@@ -0,0 +1 @@
+incorrect starting lblk in an interior node