summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2018-06-20 13:07:28 -0700
committerMark Salyzyn <salyzyn@google.com>2018-06-27 14:49:06 -0700
commiteba4706a2ee0ea473c5066675c4397211f063b62 (patch)
tree3234fa8bc78996ba7b3bb838932feb6dcb870015 /trusty/coverage/coverage_test.cpp
parent78ea17a6415c5d231606c7099eed7febc7801052 (diff)
fs_mgr: Add support in fs_mgr_read_fstab_file for /proc/mounts
Generate fstab from /proc/mounts. Basically like any regular fstab minus the requirement for the Android fs_mgr_flags. Added a unit test to confirm that fs_mgr_read_fstab("/proc/mounts") matches the setmntent("/proc/mounts")+getmntent() content. As a result, discovered a bug in parse_flags that would report "ro" if the "rootcontext=..." flag was referenced. Test: fs_mgr_unit_test Bug: 109821005 Change-Id: I635ee979e11ee089b09adbedb5f42b6ba78026de
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions