diff options
author | Elliott Hughes <enh@google.com> | 2019-11-04 21:24:42 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-11-05 19:20:52 -0600 |
commit | e6aac70496c05aed73c7c5ed881172ab5e23209b (patch) | |
tree | 8e13ac24ad26d7390acf705fdf57338282eae3cd /tests/files/bc/log.txt | |
parent | e1ea687636435f9b8e2725671b96740fedf5347a (diff) | |
download | toybox-e6aac70496c05aed73c7c5ed881172ab5e23209b.tar.gz |
id: fix Android issues.
glibc doesn't set errno when getpw* fails, so the perror_exit() looked
fine. bionic sets ENOENT and the trailing "No such file or directory"
looks silly, so switch to error_exit().
Additionally, the default format tests fail on Android because of
SELinux (but for a different reason than usual!). There's no id
--no-context flag, so use sed to just throw away any SELinux context.
Diffstat (limited to 'tests/files/bc/log.txt')
0 files changed, 0 insertions, 0 deletions