diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:49:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:49:25 +0000 |
commit | 464df1d5e5ab1322e2dd0a7796939fff1aeefa9a (patch) | |
tree | 6a403684e0978f0287d7f0ec0e5aab1fd31a59e1 /tests/f_dir_bad_csum | |
parent | Initial commit. (diff) | |
download | e2fsprogs-464df1d5e5ab1322e2dd0a7796939fff1aeefa9a.tar.xz e2fsprogs-464df1d5e5ab1322e2dd0a7796939fff1aeefa9a.zip |
Adding upstream version 1.47.0.upstream/1.47.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/f_dir_bad_csum')
-rw-r--r-- | tests/f_dir_bad_csum/expect.1 | 48 | ||||
-rw-r--r-- | tests/f_dir_bad_csum/expect.2 | 7 | ||||
-rw-r--r-- | tests/f_dir_bad_csum/image.gz | bin | 0 -> 3499 bytes | |||
-rw-r--r-- | tests/f_dir_bad_csum/name | 1 |
4 files changed, 56 insertions, 0 deletions
diff --git a/tests/f_dir_bad_csum/expect.1 b/tests/f_dir_bad_csum/expect.1 new file mode 100644 index 0000000..ae4b410 --- /dev/null +++ b/tests/f_dir_bad_csum/expect.1 @@ -0,0 +1,48 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Directory inode 12, block #0: directory passes checks but fails checksum. +Fix? yes + +Directory inode 13, block #0, offset 0: directory has no checksum. +Fix? yes + +Directory inode 14, block #0, offset 0: directory has no checksum. +Fix? yes + +Directory inode 15, block #0, offset 1000: directory corrupted +Salvage? yes + +Entry '' in ??? (15) has rec_len of 0, should be 12. +Fix? yes + +Directory inode 16, block #0, offset 12: directory corrupted +Salvage? yes + +Directory inode 17, block #0, offset 0: directory corrupted +Salvage? yes + +Missing '.' in directory inode 17. +Fix? yes + +Missing '..' in directory inode 17. +Fix? yes + +Entry 'file' in ??? (18) has invalid inode #: 4294967295. +Clear? yes + +Pass 3: Checking directory connectivity +'..' in /6 (17) is <The NULL inode> (0), should be / (2). +Fix? yes + +Pass 3A: Optimizing directories +Pass 4: Checking reference counts +Unattached inode 19 +Connect to /lost+found? yes + +Inode 19 ref count is 2, should be 1. Fix? yes + +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 19/128 files (5.3% non-contiguous), 1098/2048 blocks +Exit status is 1 diff --git a/tests/f_dir_bad_csum/expect.2 b/tests/f_dir_bad_csum/expect.2 new file mode 100644 index 0000000..f5a3e5f --- /dev/null +++ b/tests/f_dir_bad_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: 19/128 files (5.3% non-contiguous), 1098/2048 blocks +Exit status is 0 diff --git a/tests/f_dir_bad_csum/image.gz b/tests/f_dir_bad_csum/image.gz Binary files differnew file mode 100644 index 0000000..4b58187 --- /dev/null +++ b/tests/f_dir_bad_csum/image.gz diff --git a/tests/f_dir_bad_csum/name b/tests/f_dir_bad_csum/name new file mode 100644 index 0000000..6397e9d --- /dev/null +++ b/tests/f_dir_bad_csum/name @@ -0,0 +1 @@ +dir block w/ missing/bad csum/tail or block corruption |