It needs root for `ls /data/apex/active` to work. Bug: 209544705 Test: atest StagedInstallInternalTest StagedRollbackTest Change-Id: I267b027d233f0b815b39f4c7e8920795bc99a761
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