partially fix date testsuite
This commit is contained in:
1 parent
c6191e9a0a
commit
ad6cab1834
4 files changed
+5
-5
No files matched your search
@@ -1,2 +1 @@
|
||||
test x"`date -R`" = x"`busybox date -R`"
|
||||
|
||||
@@ -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'`"
|
||||
@@ -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`"
|
||||
@@ -1,2 +1 @@
|
||||
test x"`date`" = x"`busybox date`"
|
||||
|
||||
Reference in new issue
Block a user