diff options
author | Nikita Ioffe <ioffe@google.com> | 2019-03-26 01:37:03 +0000 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2019-03-27 10:27:44 +0000 |
commit | d9a25d460979bcf9806bf455c3ada7096f99cb91 (patch) | |
tree | 10f14fa3ee49fd0b25e459dee212d917d14dcca0 /apexd/apex_database_test.cpp | |
parent | da5f5061f317a4463d0eb3c458a5767e88809a09 (diff) |
Actually test shim-related logic
* Fix IsShimApex to accept com.android.apex.cts.shim.apex.
* Make sure all apexes contain hash.txt (not hash_v1 or hash_v2).
* Expected hash is stored in ${mount_point}/etc/hash.txt, not
${mount_point}/hash.txt.
* Add a test to verify staging fails in case shim apex has unexpected
SHA512.
* Delete apex_shim_test, since there is no need in those tests -
ApexShimUpdateTest in apexservice_test provides better coverage.
Test: apexservice_test
Bug: 128625955
Change-Id: I7c39d4a731b880e9d73802a9cee98fe16046f1d2
Diffstat (limited to 'apexd/apex_database_test.cpp')
0 files changed, 0 insertions, 0 deletions