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

2017-04-15 Thread enh
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

[Toybox] [PATCH] Support the %N coreutils/busybox extension to date.

2017-04-15 Thread enh
Used by the toybox touch test suite (and thus necessary to pass the toybox tests on a toybox-only system). --- tests/date.test | 10 ++ toys/posix/date.c | 50 +++--- 2 files changed, 49 insertions(+), 11 deletions(-) From