[Toybox] [PATCH] Use $(( rather than $[ for arithmetic in expand.test.

enh enh at google.com
Sat Apr 15 11:28:50 PDT 2017


I can't find any reference to $[ for arithmetic on the bash man page, but it
seems to be a synonym for $((. mksh doesn't support this, so the expand
tests
that use it fail on Android. No other toybox tests are using $[.
---
 tests/expand.test | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20170415/8624054a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-rather-than-for-arithmetic-in-expand.test.patch
Type: text/x-patch
Size: 1203 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20170415/8624054a/attachment-0002.bin>


More information about the Toybox mailing list