diff options
author | Tom Cherry <tomcherry@google.com> | 2019-11-08 17:54:27 -0800 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2019-11-12 10:19:21 -0800 |
commit | b5f2ec06f5cc7953e409c40165998e111d3fa164 (patch) | |
tree | 4334260d7cf617f2fb7655cbcd6b478dd7b6d4ff /trusty/coverage/coverage_test.cpp | |
parent | 1d284004af5313d4494ed1e5eaad918c1814819c (diff) |
init: check property type in host_init_verifier
We have all of the 'type' information for properties available during
build time, so let's check this when setting properties in init.
Test: setprop apexd.status bad results in:
host_init_verifier: Command 'setprop apexd.status bad'
(out/soong/.intermediates/system/core/rootdir/init.rc/android_x86_core/init.rc:927)
failed: Property type check failed, value doesn't match expected type
'enum starting ready'
host_init_verifier: Failed to parse init script
'out/soong/.intermediates/system/core/rootdir/init.rc/android_x86_core/init.rc'
with 1 errors
Test: CF builds without that error
Change-Id: Iaad07747c09f4a10b2b816c455d6e8a485357ab9
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions