diff options
author | 2021-10-05 15:57:49 +0100 | |
---|---|---|
committer | 2021-11-23 09:23:59 +0000 | |
commit | 8e32399d7a9c0acf1c8b3e059df58783e17da45b (patch) | |
tree | c30cf80f2c14c6d4dac6e8a2959ba865bd395263 /runtime/entrypoints_order_test.cc | |
parent | 0a74d278eb84dae4935b24d72669341542272d2b (diff) |
Add test checking that broken ART APEX updates are properly rolled back.
Introduce test module `art-apex-update-rollback`, using test APEX
module `test_broken_com.android.art`. This test installs
`test_broken_com.android.art` (which contains a "broken" version of
`libart`, crashing during the creation of a VM) on the device under
test, reboots, and checks that the test APEX has been correctly rolled
back (by checking logcat messages).
When tombstones and logcat outputs are preserved across rollbacks,
this test should be extended to check for the presence of these
artifacts as well.
Test: atest art-apex-update-rollback
Bug: 204887479
Bug: 185672266
Change-Id: Icc4f4af226b3d1253249bd2b3cb6795881677e5a
Diffstat (limited to 'runtime/entrypoints_order_test.cc')
0 files changed, 0 insertions, 0 deletions