diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2024-11-11 17:08:22 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-11-11 10:32:46 +0100 |
commit | 075e40c91c1a9ae0ce415699b0278d880c098128 (patch) | |
tree | c75e4aa0cebea4e04258168121415f09d9932788 /tests/ubifs_tools-tests/Makemodule.am | |
parent | fcc70be5f29872c11e3c8be36c9d3b9c0d016080 (diff) |
tests: ubifs_tools: fsck_tests: Add corrupt+fsck+fault_inject test
Inject memory/io fault while doing fsck for corrupted UBIFS images.
This testcase mainly checks whether fsck.ubifs has problems (eg.
UAF, null-ptr-def, etc.) in random error paths. Besides, it provides
a similar way to simulate powercut during fsck, and checks whether
the fsck.ubifs can fix an UBIFS image after many rounds interrupted
by kinds of errors.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/ubifs_tools-tests/Makemodule.am')
-rw-r--r-- | tests/ubifs_tools-tests/Makemodule.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ubifs_tools-tests/Makemodule.am b/tests/ubifs_tools-tests/Makemodule.am index d54514d..932a2bc 100644 --- a/tests/ubifs_tools-tests/Makemodule.am +++ b/tests/ubifs_tools-tests/Makemodule.am @@ -2,4 +2,5 @@ test_SCRIPTS += \ tests/ubifs_tools-tests/lib/common.sh \ tests/ubifs_tools-tests/fsck_tests/authentication_refuse.sh \ tests/ubifs_tools-tests/fsck_tests/cycle_mount_fsck_check.sh \ - tests/ubifs_tools-tests/fsck_tests/powercut_fsck_mount.sh + tests/ubifs_tools-tests/fsck_tests/powercut_fsck_mount.sh \ + tests/ubifs_tools-tests/fsck_tests/cycle_corrupted_fsck_fault_inject.sh |