partially fix date testsuite

This commit is contained in:
Denis Vlasenko 2008-04-24 19:37:11 +00:00
parent c6191e9a0a
commit ad6cab1834
4 changed files with 5 additions and 5 deletions

View File

@ -1,2 +1 @@
test x"`date -R`" = x"`busybox date -R`"

View File

@ -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'`"

View File

@ -1,2 +1 @@
test x"Wed Apr 23 11:22:33 UTC 2008" = x"`busybox date -u -d 11:22:33`"
test x"Sat Jan 1 11:22:33 UTC 2000" = x"`TZ=CET-1CEST-2 busybox date -u -d 2000.01.01-11:22:33`"

View File

@ -1,2 +1 @@
test x"`date`" = x"`busybox date`"