[Toybox] [PATCH] date: more test cleanup.

enh enh at google.com
Tue Feb 12 22:05:15 PST 2019


Add the SKIP_HOST=1 for the POSIX inputs to -d that coreutils doesn't support.

Fix some comments now Rob's pointed out that the "weird" format was just
POSIX with implicit CCYY or CC. (I was confused because coreutils rejects
them [as it rejects all POSIX input to -d], but busybox does accept them,
but interprets them differently, as explained in the test comments.)

Also rename the tests to make it clearer that these are all POSIX format.
---
 tests/date.test | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-date-more-test-cleanup.patch
Type: text/x-patch
Size: 3057 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190212/9643f4ce/attachment-0002.bin>


More information about the Toybox mailing list