diff options
author | Tom Cherry <tomcherry@google.com> | 2019-12-11 07:56:51 -0800 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2019-12-11 07:56:51 -0800 |
commit | 4b077c51f269c9a167e62b03f5ae546d17b2bb59 (patch) | |
tree | 5908bc73778efdec2b26d77ea8c9019352a2c9da /trusty/coverage/coverage_test.cpp | |
parent | 1ccaf2b8ee56dbdcb517af3c45c243ffd5b71fc2 (diff) |
Require 'exact', 'prefix', or '' for match operation in property_contexts
The previous code would lazily check for 'exact' and accept any other
value as a prefix match. This should be a tighter check allowing only
'exact', 'prefix', or an empty string for this option.
Test: build fails if an invalid string is used for the match operation
Test: build succeeds normally
Test: `getprop -Z` shows exact vs prefix is differentiated correctly
Change-Id: I21dcb193810d65f468f8960967eabfd261f71e21
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions