summaryrefslogtreecommitdiffstats
path: root/tests/f_preen_htree_csum
diff options
context:
space:
mode:
Diffstat (limited to 'tests/f_preen_htree_csum')
-rw-r--r--tests/f_preen_htree_csum/expect.14
-rw-r--r--tests/f_preen_htree_csum/expect.27
-rw-r--r--tests/f_preen_htree_csum/image.gzbin0 -> 144617 bytes
-rw-r--r--tests/f_preen_htree_csum/name1
-rw-r--r--tests/f_preen_htree_csum/script2
5 files changed, 14 insertions, 0 deletions
diff --git a/tests/f_preen_htree_csum/expect.1 b/tests/f_preen_htree_csum/expect.1
new file mode 100644
index 0000000..bbd8194
--- /dev/null
+++ b/tests/f_preen_htree_csum/expect.1
@@ -0,0 +1,4 @@
+test_filesys: Problem in HTREE directory inode 12: internal node fails checksum.
+HTREE INDEX CLEARED.
+test_filesys: 8204/10000 files (0.0% non-contiguous), 1551/4096 blocks
+Exit status is 1
diff --git a/tests/f_preen_htree_csum/expect.2 b/tests/f_preen_htree_csum/expect.2
new file mode 100644
index 0000000..0730c4a
--- /dev/null
+++ b/tests/f_preen_htree_csum/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: 8204/10000 files (0.0% non-contiguous), 1551/4096 blocks
+Exit status is 0
diff --git a/tests/f_preen_htree_csum/image.gz b/tests/f_preen_htree_csum/image.gz
new file mode 100644
index 0000000..94ce8e1
--- /dev/null
+++ b/tests/f_preen_htree_csum/image.gz
Binary files differ
diff --git a/tests/f_preen_htree_csum/name b/tests/f_preen_htree_csum/name
new file mode 100644
index 0000000..c915eec
--- /dev/null
+++ b/tests/f_preen_htree_csum/name
@@ -0,0 +1 @@
+fix a bad htree checksum in preen mode
diff --git a/tests/f_preen_htree_csum/script b/tests/f_preen_htree_csum/script
new file mode 100644
index 0000000..23ab8b6
--- /dev/null
+++ b/tests/f_preen_htree_csum/script
@@ -0,0 +1,2 @@
+FSCK_OPT=-pf
+. $cmd_dir/run_e2fsck