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_badroot | |
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_badroot')
-rw-r--r-- | tests/f_badroot/expect.1 | 29 | ||||
-rw-r--r-- | tests/f_badroot/expect.2 | 7 | ||||
-rw-r--r-- | tests/f_badroot/image.gz | bin | 0 -> 479 bytes | |||
-rw-r--r-- | tests/f_badroot/name | 1 |
4 files changed, 37 insertions, 0 deletions
diff --git a/tests/f_badroot/expect.1 b/tests/f_badroot/expect.1 new file mode 100644 index 0000000..ff92426 --- /dev/null +++ b/tests/f_badroot/expect.1 @@ -0,0 +1,29 @@ +Filesystem did not have a UUID; generating one. + +Pass 1: Checking inodes, blocks, and sizes +Root inode is not a directory. Clear? yes + +Pass 2: Checking directory structure +Entry '..' in <2>/<11> (11) has deleted/unused inode 2. Clear? yes + +Pass 3: Checking directory connectivity +Root inode not allocated. Allocate? yes + +Unconnected directory inode 11 (was in /) +Connect to /lost+found? yes + +/lost+found not found. Create? yes + +Pass 4: Checking reference counts +Inode 11 ref count is 3, should be 2. Fix? yes + +Unattached inode 12 +Connect to /lost+found? yes + +Inode 12 ref count is 2, should be 1. Fix? yes + +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 13/32 files (0.0% non-contiguous), 24/100 blocks +Exit status is 1 diff --git a/tests/f_badroot/expect.2 b/tests/f_badroot/expect.2 new file mode 100644 index 0000000..cab021a --- /dev/null +++ b/tests/f_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: 13/32 files (0.0% non-contiguous), 24/100 blocks +Exit status is 0 diff --git a/tests/f_badroot/image.gz b/tests/f_badroot/image.gz Binary files differnew file mode 100644 index 0000000..72980a3 --- /dev/null +++ b/tests/f_badroot/image.gz diff --git a/tests/f_badroot/name b/tests/f_badroot/name new file mode 100644 index 0000000..399e4f2 --- /dev/null +++ b/tests/f_badroot/name @@ -0,0 +1 @@ +file in root directory inode |