diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:49:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:49:25 +0000 |
commit | 464df1d5e5ab1322e2dd0a7796939fff1aeefa9a (patch) | |
tree | 6a403684e0978f0287d7f0ec0e5aab1fd31a59e1 /tests/f_preen | |
parent | Initial commit. (diff) | |
download | e2fsprogs-upstream.tar.xz e2fsprogs-upstream.zip |
Adding upstream version 1.47.0.upstream/1.47.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/f_preen/expect.1 | 12 | ||||
-rw-r--r-- | tests/f_preen/expect.2 | 30 | ||||
-rw-r--r-- | tests/f_preen/image.gz | bin | 0 -> 155743 bytes | |||
-rw-r--r-- | tests/f_preen/name | 1 | ||||
-rw-r--r-- | tests/f_preen/script | 4 |
5 files changed, 47 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 0000000..3aa7ca0 --- /dev/null +++ b/tests/f_preen/image.gz 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 |