summaryrefslogtreecommitdiffstats
path: root/tests/f_extent_bad_node
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/f_extent_bad_node/expect.126
-rw-r--r--tests/f_extent_bad_node/expect.27
-rw-r--r--tests/f_extent_bad_node/image.gzbin0 -> 1254 bytes
-rw-r--r--tests/f_extent_bad_node/name1
4 files changed, 34 insertions, 0 deletions
diff --git a/tests/f_extent_bad_node/expect.1 b/tests/f_extent_bad_node/expect.1
new file mode 100644
index 0000000..e6cdf97
--- /dev/null
+++ b/tests/f_extent_bad_node/expect.1
@@ -0,0 +1,26 @@
+Pass 1: Checking inodes, blocks, and sizes
+Inode 12 has an invalid extent node (blk 22, lblk 0)
+Clear? yes
+
+Inode 12 extent tree (at level 1) could be shorter. Optimize? yes
+
+Inode 12, i_blocks is 16, should be 8. Fix? yes
+
+Pass 1E: Optimizing extent trees
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+Block bitmap differences: -(21--23) -25
+Fix? yes
+
+Free blocks count wrong for group #0 (73, counted=77).
+Fix? yes
+
+Free blocks count wrong (73, counted=77).
+Fix? yes
+
+
+test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 12/16 files (0.0% non-contiguous), 23/100 blocks
+Exit status is 1
diff --git a/tests/f_extent_bad_node/expect.2 b/tests/f_extent_bad_node/expect.2
new file mode 100644
index 0000000..b78b193
--- /dev/null
+++ b/tests/f_extent_bad_node/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: 12/16 files (0.0% non-contiguous), 23/100 blocks
+Exit status is 0
diff --git a/tests/f_extent_bad_node/image.gz b/tests/f_extent_bad_node/image.gz
new file mode 100644
index 0000000..01d9b45
--- /dev/null
+++ b/tests/f_extent_bad_node/image.gz
Binary files differ
diff --git a/tests/f_extent_bad_node/name b/tests/f_extent_bad_node/name
new file mode 100644
index 0000000..0b4ab8c
--- /dev/null
+++ b/tests/f_extent_bad_node/name
@@ -0,0 +1 @@
+bad interior node in extent tree (metadata_csum)