summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-10-19 14:15:37 -0700
committerTom Cherry <tomcherry@google.com>2017-10-19 16:24:56 -0700
commite6d37cdbf98247f2d9dfd574644fa342de8655bc (patch)
tree48228cfee37637bbaf5d46a9d2ff3868a475f7f6 /libutils/Unicode.cpp
parentb3959bb47e689ce91c7d4e63f161c6a46a9de671 (diff)
init: clean up subcontext_test
subcontext_test had been failing due to setexeccon() failing to transition to vendor_init context. This is a good thing as nothing other than init should be able to transition into this context. I don't want to add code to skip the setexeccon() call only for the tests, so I instead call setexeccon() with the return value of getcon(). This works however only for root, so these tests are skipped for non-root. Test: init unit tests Change-Id: I8a415599e0ec5506511202f7f5018c0e5265837d
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions