[Toybox] [PATCH] hostname: fix tests for non-root on Android.

enh enh at google.com
Fri Jul 26 11:01:33 PDT 2019


On Android you can't even get the hostname unless you're root, to avoid
device fingerprinting/tracking.

Also modernize by using skipnot, which fixes the incorrect test name in
the SKIP: output.
---
 tests/hostname.test | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-hostname-fix-tests-for-non-root-on-Android.patch
Type: text/x-patch
Size: 1127 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190726/8964384a/attachment-0002.bin>


More information about the Toybox mailing list