diff options
author | 2021-08-16 03:19:18 +0000 | |
---|---|---|
committer | 2021-08-16 08:41:11 +0000 | |
commit | e84ad2c045f3439b9e20b977d74c7e4e394417a2 (patch) | |
tree | 61a2e0602b2ee9b9f8a3e92b9bc7e8deb30d0784 /libnativeloader/native_loader_test.h | |
parent | 3ba3edfee2592edeea4a4cf06336577178bf2b12 (diff) |
Fix OnDeviceSigningHostTest to correctly get mapped artifacts.
We use `pidof` to get the pid of a process, in order to get the mapped
files of the process from `/proc/<pid>/maps`. However, `pidof` may
output multiple pids in some cases, separated by spaces, which leads to
weird errors because the test cannot handle such output. After this
change, only the first pid is taken.
Bug: 189467174
Test: atest odsign_e2e_tests
Change-Id: I6e137819fa032611636f92fdd2b6c9faf58acd25
Diffstat (limited to 'libnativeloader/native_loader_test.h')
0 files changed, 0 insertions, 0 deletions