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_summary_counts | |
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 'tests/f_summary_counts')
-rw-r--r-- | tests/f_summary_counts/expect.1 | 19 | ||||
-rw-r--r-- | tests/f_summary_counts/expect.2 | 7 | ||||
-rw-r--r-- | tests/f_summary_counts/image.gz | bin | 0 -> 440 bytes | |||
-rw-r--r-- | tests/f_summary_counts/name | 1 | ||||
-rw-r--r-- | tests/f_summary_counts/script | 4 |
5 files changed, 31 insertions, 0 deletions
diff --git a/tests/f_summary_counts/expect.1 b/tests/f_summary_counts/expect.1 new file mode 100644 index 0000000..ddb14bd --- /dev/null +++ b/tests/f_summary_counts/expect.1 @@ -0,0 +1,19 @@ +test_filesys contains a file system with errors, check forced. +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 (200, counted=80). +Fix? yes + +Free inodes count wrong for group #0 (250, counted=5). +Fix? yes + +Directories count wrong for group #0 (150, counted=2). +Fix? yes + + +test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** +test_filesys: 11/16 files (0.0% non-contiguous), 20/100 blocks +Exit status is 1 diff --git a/tests/f_summary_counts/expect.2 b/tests/f_summary_counts/expect.2 new file mode 100644 index 0000000..44bff62 --- /dev/null +++ b/tests/f_summary_counts/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/16 files (0.0% non-contiguous), 20/100 blocks +Exit status is 0 diff --git a/tests/f_summary_counts/image.gz b/tests/f_summary_counts/image.gz Binary files differnew file mode 100644 index 0000000..d527e9a --- /dev/null +++ b/tests/f_summary_counts/image.gz diff --git a/tests/f_summary_counts/name b/tests/f_summary_counts/name new file mode 100644 index 0000000..9fd1021 --- /dev/null +++ b/tests/f_summary_counts/name @@ -0,0 +1 @@ +incorrect inode/block free counts diff --git a/tests/f_summary_counts/script b/tests/f_summary_counts/script new file mode 100644 index 0000000..fc425ef --- /dev/null +++ b/tests/f_summary_counts/script @@ -0,0 +1,4 @@ +FSCK_OPT=-y +SECOND_FSCK_OPT=-yf + +. $cmd_dir/run_e2fsck |