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_corrupt_dirent_tail/expect.1 | 16 ++++++++++++++++ tests/f_corrupt_dirent_tail/expect.2 | 7 +++++++ tests/f_corrupt_dirent_tail/image.gz | Bin 0 -> 2685 bytes tests/f_corrupt_dirent_tail/name | 1 + 4 files changed, 24 insertions(+) create mode 100644 tests/f_corrupt_dirent_tail/expect.1 create mode 100644 tests/f_corrupt_dirent_tail/expect.2 create mode 100644 tests/f_corrupt_dirent_tail/image.gz create mode 100644 tests/f_corrupt_dirent_tail/name (limited to 'tests/f_corrupt_dirent_tail') diff --git a/tests/f_corrupt_dirent_tail/expect.1 b/tests/f_corrupt_dirent_tail/expect.1 new file mode 100644 index 0000000..0813755 --- /dev/null +++ b/tests/f_corrupt_dirent_tail/expect.1 @@ -0,0 +1,16 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Directory inode 2, block #0, offset 0: directory has no checksum. +Fix? yes + +Directory inode 2, block #0, offset 1012: directory corrupted +Salvage? 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: 11/128 files (9.1% non-contiguous), 1090/2048 blocks +Exit status is 1 diff --git a/tests/f_corrupt_dirent_tail/expect.2 b/tests/f_corrupt_dirent_tail/expect.2 new file mode 100644 index 0000000..c42466d --- /dev/null +++ b/tests/f_corrupt_dirent_tail/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: 11/128 files (9.1% non-contiguous), 1090/2048 blocks +Exit status is 0 diff --git a/tests/f_corrupt_dirent_tail/image.gz b/tests/f_corrupt_dirent_tail/image.gz new file mode 100644 index 0000000..f275308 Binary files /dev/null and b/tests/f_corrupt_dirent_tail/image.gz differ diff --git a/tests/f_corrupt_dirent_tail/name b/tests/f_corrupt_dirent_tail/name new file mode 100644 index 0000000..08259a3 --- /dev/null +++ b/tests/f_corrupt_dirent_tail/name @@ -0,0 +1 @@ +rebuild a directory with corrupt dirent tail -- cgit v1.2.3