diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-24 19:37:11 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-24 19:37:11 +0000 |
commit | ad6cab18341dc2df832f0b8fea966e3fb57eef03 (patch) | |
tree | 489d117d552290ecbf11409500653df75164651b /testsuite/date/date-format-works | |
parent | c6191e9a0ab4c05040d246760a619be7c62f84b2 (diff) |
partially fix date testsuite
Diffstat (limited to 'testsuite/date/date-format-works')
-rw-r--r-- | testsuite/date/date-format-works | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/date/date-format-works b/testsuite/date/date-format-works index f28d06cfc..f2a2091c3 100644 --- a/testsuite/date/date-format-works +++ b/testsuite/date/date-format-works @@ -1 +1,4 @@ -test x"`date +%d/%m/%y`" = x"`busybox date +%d/%m/%y`" +# TODO: gnu date doesn't accept '2000.11.22-11:22:33' format, +# but accepts '2000-11-22 11:22:33'. We must follow. +test x"01/01/99" = x"`busybox date -d 1999.01.01-11:22:33 '+%d/%m/%y'`" +test x"22/11/00" = x"`busybox date -d 2000.11.22-11:22:33 '+%d/%m/%y'`" |