JW Wang 055f696086 Don't fall back to copy during rollback tests (5/n)
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
2021-03-02 11:30:23 +08:00
..
2021-02-22 15:27:43 +08:00

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