commit | 32f70ee2283aba1fea1f0d5fc68ee57ae99d825c | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Wed Sep 04 13:39:06 2019 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Wed Sep 04 13:39:06 2019 -0700 |
tree | bc60e50b495a517b3ebb10470ac80b2f724a9a5a | |
parent | 6cc5bcb35d3a4ebf5f3d89f2374dd6b64d41ab4c [diff] |
liblog: run liblog#enoent only as root Previously this test would rely on ro.debuggable being true, but there are now some circumstances where ro.debuggable is true, yet `su` does not exist. Therefore we only run this test when it is root. Also simplify some of the test macros. Bug: 140446213 Test: passes as root, skips as non-root Change-Id: I0651963d5c7d4f5308989ab6b04aab1042094e5a