Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2080177d authored by Yuan Yao's avatar Yuan Yao
Browse files

init: Add reboot fs integrity test

This CL introduces a new test to verify the file system integrity after
a reboot, specifically checking for issues related to unmount
operations. Currently, the test checks whether UMOUNT_DATA_FAIL_MESSAGE
(defined in reboot.h) appears in the pstore log.

The test first checks for the existence of the pstore console logs and
skips the test if they are not available.

If the pstore is available, it reads logs from the pstore console file
and checks for the presence of specific log messages related to unmount
failures.

Bug: 407152708
Test: atest RebootFsIntegrityTest passed
Test: Revert ag/32872683, atest RebootFsIntegrityTest failed

Change-Id: I99f93573169dfdb15128d18e11c417961554b2c3
parent 587e5727
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment