summaryrefslogtreecommitdiff
path: root/testsuite/date/date-works
diff options
context:
space:
mode:
authorDenys Vlasenko2009-07-18 04:54:21 +0200
committerDenys Vlasenko2009-07-18 04:54:21 +0200
commit941990f0c5911cccd2bfaa3e0259a312c93f97ef (patch)
tree089a80831264eb83091b89185172c6f96afd3081 /testsuite/date/date-works
parent38dd8aa657d80232d8bbce4ed359af2022f605c7 (diff)
downloadbusybox-941990f0c5911cccd2bfaa3e0259a312c93f97ef.zip
busybox-941990f0c5911cccd2bfaa3e0259a312c93f97ef.tar.gz
correct date testsuite to use compatible format
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/date/date-works')
-rw-r--r--testsuite/date/date-works4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/date/date-works b/testsuite/date/date-works
index 0802e88..901c485 100644
--- a/testsuite/date/date-works
+++ b/testsuite/date/date-works
@@ -35,10 +35,10 @@ dt=`busybox date -d 01231133`
dt=`echo "$dt" | cut -b5-19`
test x"$dt" = x"Jan 23 11:33:00"
-dt=`busybox date -d 012311332000`
+dt=`busybox date -d 200001231133`
dt=`echo "$dt" | cut -b1-19`
test x"$dt" = x"Sun Jan 23 11:33:00"
-dt=`busybox date -d 012311332000.30`
+dt=`busybox date -d 200001231133.30`
dt=`echo "$dt" | cut -b1-19`
test x"$dt" = x"Sun Jan 23 11:33:30"