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_uninit_restart_fsck/expect.1 | 32 ++++++++++++++++++++++++++++++++ tests/f_uninit_restart_fsck/expect.2 | 7 +++++++ tests/f_uninit_restart_fsck/image.gz | Bin 0 -> 91233 bytes tests/f_uninit_restart_fsck/name | 1 + 4 files changed, 40 insertions(+) create mode 100644 tests/f_uninit_restart_fsck/expect.1 create mode 100644 tests/f_uninit_restart_fsck/expect.2 create mode 100644 tests/f_uninit_restart_fsck/image.gz create mode 100644 tests/f_uninit_restart_fsck/name (limited to 'tests/f_uninit_restart_fsck') diff --git a/tests/f_uninit_restart_fsck/expect.1 b/tests/f_uninit_restart_fsck/expect.1 new file mode 100644 index 0000000..64a2d06 --- /dev/null +++ b/tests/f_uninit_restart_fsck/expect.1 @@ -0,0 +1,32 @@ +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Entry 'foo2' in /d1 (1881) references inode 500 found in group 0's unused inodes area. +Fix? yes + +Entry 'foo2' in /d1 (1881) has an incorrect filetype (was 1, should be 0). +Fix? yes + +Entry 'bar2' in /d2 (3761) references inode 2100 found in group 1's unused inodes area. +Fix? yes + +Entry 'bar2' in /d2 (3761) has an incorrect filetype (was 1, should be 0). +Fix? yes + +Restarting e2fsck from the beginning... +Pass 1: Checking inodes, blocks, and sizes +Pass 2: Checking directory structure +Entry 'foo2' in /d1 (1881) has deleted/unused inode 500. Clear? yes + +Entry 'bar2' in /d2 (3761) has deleted/unused inode 2100. Clear? yes + +Pass 3: Checking directory connectivity +Pass 4: Checking reference counts +Unattached zero-length inode 1883. Clear? yes + +Unattached zero-length inode 3763. Clear? yes + +Pass 5: Checking group summary information + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 21/7520 files (0.0% non-contiguous), 2352/30000 blocks +Exit status is 1 diff --git a/tests/f_uninit_restart_fsck/expect.2 b/tests/f_uninit_restart_fsck/expect.2 new file mode 100644 index 0000000..156eb07 --- /dev/null +++ b/tests/f_uninit_restart_fsck/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: 21/7520 files (0.0% non-contiguous), 2352/30000 blocks +Exit status is 0 diff --git a/tests/f_uninit_restart_fsck/image.gz b/tests/f_uninit_restart_fsck/image.gz new file mode 100644 index 0000000..f073186 Binary files /dev/null and b/tests/f_uninit_restart_fsck/image.gz differ diff --git a/tests/f_uninit_restart_fsck/name b/tests/f_uninit_restart_fsck/name new file mode 100644 index 0000000..def2234 --- /dev/null +++ b/tests/f_uninit_restart_fsck/name @@ -0,0 +1 @@ +re-start e2fsck only once for inodes in uninit space -- cgit v1.2.3