[Toybox] [PATCH] chmod.test: fix the tests to work on mksh as well as bash.

enh enh at google.com
Thu Jan 7 15:27:02 PST 2021


mksh doesn't support the {a..b} bashism or the ${!name} bashism, causing
the tests to fail on Android.

This works for me on both mksh and bash (both tested on Debian).
---
 tests/chmod.test | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210107/ff6639f7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-chmod.test-fix-the-tests-to-work-on-mksh-as-well-as-.patch
Type: text/x-patch
Size: 1441 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210107/ff6639f7/attachment-0002.bin>


More information about the Toybox mailing list