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_preen/expect.1 | 12 ++++++++++++ tests/f_preen/expect.2 | 30 ++++++++++++++++++++++++++++++ tests/f_preen/image.gz | Bin 0 -> 155743 bytes tests/f_preen/name | 1 + tests/f_preen/script | 4 ++++ 5 files changed, 47 insertions(+) create mode 100644 tests/f_preen/expect.1 create mode 100644 tests/f_preen/expect.2 create mode 100644 tests/f_preen/image.gz create mode 100644 tests/f_preen/name create mode 100644 tests/f_preen/script (limited to 'tests/f_preen') diff --git a/tests/f_preen/expect.1 b/tests/f_preen/expect.1 new file mode 100644 index 0000000..dd20572 --- /dev/null +++ b/tests/f_preen/expect.1 @@ -0,0 +1,12 @@ +test_filesys: Note: if several inode or block bitmap blocks or part +of the inode table require relocation, you may wish to try +running e2fsck with the '-b 8193' option first. The problem +may lie only with the primary block group descriptors, and +the backup block group descriptors may be OK. + +test_filesys: Block bitmap for group 0 is not in group. (block 0) + + +test_filesys: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. + (i.e., without -a or -p options) +Exit status is 4 diff --git a/tests/f_preen/expect.2 b/tests/f_preen/expect.2 new file mode 100644 index 0000000..a7f6ce1 --- /dev/null +++ b/tests/f_preen/expect.2 @@ -0,0 +1,30 @@ +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 +Free blocks count wrong for group #0 (8042, counted=7614). +Fix? yes + +Free blocks count wrong for group #1 (170, counted=169). +Fix? yes + +Free blocks count wrong (8212, counted=7783). +Fix? yes + +Free inodes count wrong for group #0 (1053, counted=1052). +Fix? yes + +Free inodes count wrong for group #1 (1064, counted=1063). +Fix? yes + +Directories count wrong for group #1 (0, counted=1). +Fix? yes + +Free inodes count wrong (2117, counted=2115). +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 13/2128 files (0.0% non-contiguous), 717/8500 blocks +Exit status is 1 diff --git a/tests/f_preen/image.gz b/tests/f_preen/image.gz new file mode 100644 index 0000000..3aa7ca0 Binary files /dev/null and b/tests/f_preen/image.gz differ diff --git a/tests/f_preen/name b/tests/f_preen/name new file mode 100644 index 0000000..75a3a4f --- /dev/null +++ b/tests/f_preen/name @@ -0,0 +1 @@ +preen shouldn't destroy backup superblocks diff --git a/tests/f_preen/script b/tests/f_preen/script new file mode 100644 index 0000000..40ed11c --- /dev/null +++ b/tests/f_preen/script @@ -0,0 +1,4 @@ +FSCK_OPT=-pf +SECOND_FSCK_OPT=-yfb8193 + +. $cmd_dir/run_e2fsck -- cgit v1.2.3