commit | 55436dd6b1ccf001ae79b6139dbf192ebe885ea8 | [log] [tgz] |
---|---|---|
author | Ben Hamilton <benhamilton@google.com> | Tue Jan 14 11:46:01 2025 -0700 |
committer | Ben Hamilton <benhamilton@google.com> | Tue Jan 14 11:46:01 2025 -0700 |
tree | 0b64438e7fd7529e4cf50025e413eb92b14624a0 | |
parent | e7b11898f8d4c9337d014434508303b17db7ef59 [diff] |
[libprocinfo] Harden test to work even under ARM emulator When running under an ARM emulator like qemu, the name of the binary executing the test might not be "libprocinfo_test", but rather something like "qemu-aarch64-...". This hardens the test to not assume the name of the binary and instead read it from /proc/self/exe. Change-Id: Ia4564da87c4a8ebb5e512f995cf283327579eed4 Bug: b/307594847