From 464df1d5e5ab1322e2dd0a7796939fff1aeefa9a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:49:25 +0200 Subject: Adding upstream version 1.47.0. Signed-off-by: Daniel Baumann --- tests/f_badsymlinks/expect.1 | 61 +++++++++++++++++++++++++++++++++++++++++++ tests/f_badsymlinks/expect.2 | 7 +++++ tests/f_badsymlinks/image.gz | Bin 0 -> 1767 bytes tests/f_badsymlinks/name | 1 + 4 files changed, 69 insertions(+) create mode 100644 tests/f_badsymlinks/expect.1 create mode 100644 tests/f_badsymlinks/expect.2 create mode 100644 tests/f_badsymlinks/image.gz create mode 100644 tests/f_badsymlinks/name (limited to 'tests/f_badsymlinks') diff --git a/tests/f_badsymlinks/expect.1 b/tests/f_badsymlinks/expect.1 new file mode 100644 index 0000000..b28b57d --- /dev/null +++ b/tests/f_badsymlinks/expect.1 @@ -0,0 +1,61 @@ +Pass 1: Checking inodes, blocks, and sizes +Special (device/socket/fifo/symlink) file (inode 18) has immutable +or append-only flag set. Clear? yes + +Inode 19 has illegal block(s). Clear? yes + +Illegal block #0 (1234567890) in inode 19. CLEARED. +Inode 19, i_blocks is 2, should be 0. Fix? yes + +Special (device/socket/fifo/symlink) file (inode 20) has immutable +or append-only flag set. Clear? yes + +Inode 21 is too big. Truncate? yes + +Block #1 (22) causes symlink to be too big. CLEARED. +Inode 21, i_blocks is 4, should be 2. Fix? yes + +Pass 2: Checking directory structure +Symlink /empty_link (inode #17) is invalid. +Clear? yes + +Symlink /long_fastlink (inode #13) is invalid. +Clear? yes + +Symlink /long_link (inode #14) is invalid. +Clear? yes + +Symlink /high_fastlink (inode #15) is invalid. +Clear? yes + +Symlink /high_link (inode #16) is invalid. +Clear? yes + +Symlink /empty_fastlink (inode #12) is invalid. +Clear? yes + +Symlink /bad_link_block (inode #19) is invalid. +Clear? yes + +Symlink /extra_link_block (inode #21) is invalid. +Clear? yes + +Symlink /bad_link_size (inode #22) is invalid. +Clear? yes + +Symlink /bad_fastlink_size (inode #23) is invalid. +Clear? yes + +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information +Free blocks count wrong for group #0 (1000, counted=1001). +Fix? yes + +Free blocks count wrong (1000, counted=1001). +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 13/32 files (7.7% non-contiguous), 23/1024 blocks +Exit status is 1 diff --git a/tests/f_badsymlinks/expect.2 b/tests/f_badsymlinks/expect.2 new file mode 100644 index 0000000..1499551 --- /dev/null +++ b/tests/f_badsymlinks/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), 23/1024 blocks +Exit status is 0 diff --git a/tests/f_badsymlinks/image.gz b/tests/f_badsymlinks/image.gz new file mode 100644 index 0000000..4ebacde Binary files /dev/null and b/tests/f_badsymlinks/image.gz differ diff --git a/tests/f_badsymlinks/name b/tests/f_badsymlinks/name new file mode 100644 index 0000000..630858f --- /dev/null +++ b/tests/f_badsymlinks/name @@ -0,0 +1 @@ +corrupted symlinks -- cgit v1.2.3