]> www.infradead.org Git - mtd-utils.git/commit
tests: ubifs_tools: fsck_tests: Add powercut+fsck+mount test
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 09:08:21 +0000 (17:08 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:46 +0000 (10:32 +0100)
commitfcc70be5f29872c11e3c8be36c9d3b9c0d016080
treedd57ea15919018d7d8de773c9412c9b7a8c56cc3
parent5fca379e9ed7ecbf643422c7b4ae0f7caaf94a19
tests: ubifs_tools: fsck_tests: Add powercut+fsck+mount test

Inject powercut while doing fsstress on mounted UBIFS for kinds of
flashes (eg. nand, nor).
This testcase mainly makes sure that fsck.ubifs can make UBIFS image
be consistent on different flashes (eg. nand, nor). Because the
min_io_size of nor flash is 1, the UBIFS image on nor flash will be
different from nand flash after doing powercut, so we need make sure
fsck.ubifs can handle these two types of flash.

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/powercut_fsck_mount.sh.in [new file with mode: 0755]