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_baddotdir | |
parent | Initial commit. (diff) | |
download | e2fsprogs-upstream.tar.xz e2fsprogs-upstream.zip |
Adding upstream version 1.47.0.upstream/1.47.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/f_baddotdir/expect.1 | 62 | ||||
-rw-r--r-- | tests/f_baddotdir/expect.2 | 7 | ||||
-rw-r--r-- | tests/f_baddotdir/image.gz | bin | 0 -> 592 bytes | |||
-rw-r--r-- | tests/f_baddotdir/name | 1 |
4 files changed, 70 insertions, 0 deletions
diff --git a/tests/f_baddotdir/expect.1 b/tests/f_baddotdir/expect.1 new file mode 100644 index 0000000..a7ca4e4 --- /dev/null +++ b/tests/f_baddotdir/expect.1 @@ -0,0 +1,62 @@ +Filesystem did not have a UUID; generating one. + +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Missing '.' in directory inode 12. +Fix? yes + +Missing '..' in directory inode 12. +Fix? yes + +First entry 'X' (inode=11) in directory inode 13 (/b) should be '.' +Fix? yes + +Missing '..' in directory inode 14. +Fix? yes + +Second entry 'XX' (inode=11) in directory inode 15 should be '..' +Fix? yes + +'.' directory entry in directory inode 17 is not NULL terminated +Fix? yes + +'..' directory entry in directory inode 17 is not NULL terminated +Fix? yes + +Missing '.' in directory inode 16. +Fix? yes + +Missing '..' in directory inode 16. +Fix? yes + +Directory entry for '.' in ... (19) is big. +Split? yes + +Pass 3: Checking directory connectivity +'..' in /a (12) is <The NULL inode> (0), should be / (2). +Fix? yes + +'..' in /c (14) is <The NULL inode> (0), should be / (2). +Fix? yes + +'..' in /d (15) is <The NULL inode> (0), should be / (2). +Fix? yes + +'..' in /e (16) is <The NULL inode> (0), should be / (2). +Fix? yes + +'..' in /f (17) is <The NULL inode> (0), should be / (2). +Fix? yes + +Pass 4: Checking reference counts +Pass 5: Checking group summary information +Free blocks count wrong for group #0 (69, counted=70). +Fix? yes + +Free blocks count wrong (69, counted=70). +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 19/32 files (0.0% non-contiguous), 30/100 blocks +Exit status is 1 diff --git a/tests/f_baddotdir/expect.2 b/tests/f_baddotdir/expect.2 new file mode 100644 index 0000000..0838aa3 --- /dev/null +++ b/tests/f_baddotdir/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/32 files (0.0% non-contiguous), 30/100 blocks +Exit status is 0 diff --git a/tests/f_baddotdir/image.gz b/tests/f_baddotdir/image.gz Binary files differnew file mode 100644 index 0000000..71df18f --- /dev/null +++ b/tests/f_baddotdir/image.gz diff --git a/tests/f_baddotdir/name b/tests/f_baddotdir/name new file mode 100644 index 0000000..c13ba75 --- /dev/null +++ b/tests/f_baddotdir/name @@ -0,0 +1 @@ +bad '.' and '..' entries |