diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 09:25:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 09:25:10 +0000 |
commit | 5dced3d1b3deca80e01415a2e35dc7972dcbfae7 (patch) | |
tree | 6a403684e0978f0287d7f0ec0e5aab1fd31a59e1 /tests/f_h_badroot | |
parent | Initial commit. (diff) | |
download | e2fsprogs-5dced3d1b3deca80e01415a2e35dc7972dcbfae7.tar.xz e2fsprogs-5dced3d1b3deca80e01415a2e35dc7972dcbfae7.zip |
Adding upstream version 1.47.0.upstream/1.47.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/f_h_badroot')
-rw-r--r-- | tests/f_h_badroot/expect.1 | 40 | ||||
-rw-r--r-- | tests/f_h_badroot/expect.2 | 7 | ||||
-rw-r--r-- | tests/f_h_badroot/image.gz | bin | 0 -> 43165 bytes | |||
-rw-r--r-- | tests/f_h_badroot/name | 1 | ||||
-rw-r--r-- | tests/f_h_badroot/script | 5 |
5 files changed, 53 insertions, 0 deletions
diff --git a/tests/f_h_badroot/expect.1 b/tests/f_h_badroot/expect.1 new file mode 100644 index 0000000..88eba51 --- /dev/null +++ b/tests/f_h_badroot/expect.1 @@ -0,0 +1,40 @@ +Backing up journal inode block information. + +Pass 1: Checking inodes, blocks, and sizes +HTREE directory inode 13345 has an invalid root node. +Clear HTree index? yes + +HTREE directory inode 26689 has an unsupported hash version (240) +Clear HTree index? yes + +HTREE directory inode 40033 has an invalid root node. +Clear HTree index? yes + +HTREE directory inode 53377 has a tree depth (8) which is too big +Clear HTree index? yes + +HTREE directory inode 66721 uses an incompatible htree root node flag. +Clear HTree index? yes + +Pass 2: Checking directory structure +Problem in HTREE directory inode 80065: block #0 has an unordered hash table +Clear HTree index? yes + +Problem in HTREE directory inode 86737: block #0 has invalid limit (511) +Clear HTree index? yes + +Problem in HTREE directory inode 93409: block #0 has invalid count (234) +Clear HTree index? yes + +Problem in HTREE directory inode 73393: block #1 has bad min hash +Problem in HTREE directory inode 73393: block #2 has bad max hash +Invalid HTREE directory inode 73393 (/test6). Clear HTree index? yes + +Pass 3: Checking directory connectivity +Pass 3A: Optimizing directories +Pass 4: Checking reference counts +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 1921/100080 files (0.0% non-contiguous), 13646/15361 blocks +Exit status is 1 diff --git a/tests/f_h_badroot/expect.2 b/tests/f_h_badroot/expect.2 new file mode 100644 index 0000000..d5772c1 --- /dev/null +++ b/tests/f_h_badroot/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: 1921/100080 files (0.0% non-contiguous), 13646/15361 blocks +Exit status is 0 diff --git a/tests/f_h_badroot/image.gz b/tests/f_h_badroot/image.gz Binary files differnew file mode 100644 index 0000000..7160cd5 --- /dev/null +++ b/tests/f_h_badroot/image.gz diff --git a/tests/f_h_badroot/name b/tests/f_h_badroot/name new file mode 100644 index 0000000..b2ac7ff --- /dev/null +++ b/tests/f_h_badroot/name @@ -0,0 +1 @@ +bad htree root nodes diff --git a/tests/f_h_badroot/script b/tests/f_h_badroot/script new file mode 100644 index 0000000..e5fc6b2 --- /dev/null +++ b/tests/f_h_badroot/script @@ -0,0 +1,5 @@ +if test "$HTREE"x = yx ; then +. $cmd_dir/run_e2fsck +else + echo "$test_name: $test_description: skipped" +fi |