055f696086
1. 'persist.rollback.is_test' is set to 1 during rollback tests 2. don't fall back to copy if hardlink fails during rollback tests 3. This gives us insight into how enable-rollback-by-hardlink works and how it fails in the field Bug: 168562373 Test: atest MultiUserRollbackTest \ NetworkStagedRollbackTest \ RollbackTest \ StagedRollbackTest Change-Id: If1590fdf96e25105936a930b3ec7225ecec4bf0d
This directory contains a test for the rollback manager service. Directory structure =================== RollbackTest - device driven test for rollbacks not involving staged rollbacks. StagedRollbackTest - device driven test for staged rollbacks. TestApp - source for fake apks used in testing. TestApex - source for fake apex modules used in testing. Running the tests ================= You can manually run the tests as follows: atest RollbackTest atest StagedRollbackTest