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_salvage_dir/expect.1 | 19 +++++++++++++++++++ tests/f_salvage_dir/expect.2 | 7 +++++++ tests/f_salvage_dir/image.gz | Bin 0 -> 616 bytes tests/f_salvage_dir/name | 1 + 4 files changed, 27 insertions(+) create mode 100644 tests/f_salvage_dir/expect.1 create mode 100644 tests/f_salvage_dir/expect.2 create mode 100644 tests/f_salvage_dir/image.gz create mode 100644 tests/f_salvage_dir/name (limited to 'tests/f_salvage_dir') diff --git a/tests/f_salvage_dir/expect.1 b/tests/f_salvage_dir/expect.1 new file mode 100644 index 0000000..3286384 --- /dev/null +++ b/tests/f_salvage_dir/expect.1 @@ -0,0 +1,19 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Directory inode 13, block #0, offset 48: directory corrupted +Salvage? yes + +Directory inode 12, block #1, offset 0: directory corrupted +Salvage? yes + +Setting filetype for entry 'c' in /test (12) to 1. +Directory inode 12, block #1, offset 1016: directory corrupted +Salvage? yes + +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 19/64 files (10.5% non-contiguous), 30/100 blocks +Exit status is 1 diff --git a/tests/f_salvage_dir/expect.2 b/tests/f_salvage_dir/expect.2 new file mode 100644 index 0000000..0b77cd1 --- /dev/null +++ b/tests/f_salvage_dir/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/64 files (10.5% non-contiguous), 30/100 blocks +Exit status is 0 diff --git a/tests/f_salvage_dir/image.gz b/tests/f_salvage_dir/image.gz new file mode 100644 index 0000000..b0adde7 Binary files /dev/null and b/tests/f_salvage_dir/image.gz differ diff --git a/tests/f_salvage_dir/name b/tests/f_salvage_dir/name new file mode 100644 index 0000000..746f43a --- /dev/null +++ b/tests/f_salvage_dir/name @@ -0,0 +1 @@ +salvage corrupted directories -- cgit v1.2.3