[Toybox] [PATCH] test.tar: fix tar tests on Android.

enh enh at google.com
Mon Jul 1 14:26:18 PDT 2019


There's no /etc/group on Android.

Loop devices are in different places, but that test doesn't seem to
offer anything beyond the block/char special device tests later, so
remove that rather than fix it.

Fix the block/char special tests (the expectations were missing, but
they're never normally run on the host because the mknod fails).

Likewise add the missing expectation to the "ownership" test, which
isn't normally run on the host because the chown fails.

Add a skipnot to the "sparse without overflow" test because the dd line
doesn't work with toybox dd.
---
 tests/tar.test | 29 +++++++++++++----------------
 1 file changed, 13 insertions(+), 16 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-test.tar-fix-tar-tests-on-Android.patch
Type: text/x-patch
Size: 3811 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190701/c18f931c/attachment-0002.bin>


More information about the Toybox mailing list