]> www.infradead.org Git - mtd-utils.git/commit
tests: ubifs_tools: fsck_tests: Add bad images fixing test
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 09:08:26 +0000 (17:08 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:46 +0000 (10:32 +0100)
commit60fd097fb0c436956e58d0a30535a04a35258225
treebf95d22a0965974779bb02d066e6d5d013c30381
parent4e6f5098716ad2bf8859a1915fc0e42e69eaf88a
tests: ubifs_tools: fsck_tests: Add bad images fixing test

For kinds of inconsistent UBIFS images(which can simulate corruptions
caused by some potentional UBIFS bug), check the result of fsck.
This testcase mainly checks whether the behavior is in expected after
repairing specific inconsistent UBIFS image.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
.gitignore
configure.ac
tests/ubifs_tools-tests/Makemodule.am
tests/ubifs_tools-tests/fsck_tests/fsck_bad_image.sh.in [new file with mode: 0755]