commit | 49ed41b70e5fe3c32a3157af37f78f1adf554a02 | [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 | 15804b830e9ae257a1d7596945bcde988e8c9dab | |
parent | f1b839a23dd5be3131cdf5443894241c9875f9f7 [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