mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
partially fix date testsuite
This commit is contained in:
parent
c6191e9a0a
commit
ad6cab1834
@ -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`"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user