diff options
author | Denys Vlasenko | 2009-07-18 04:54:21 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-07-18 04:54:21 +0200 |
commit | 941990f0c5911cccd2bfaa3e0259a312c93f97ef (patch) | |
tree | 089a80831264eb83091b89185172c6f96afd3081 /testsuite/date/date-works-1 | |
parent | 38dd8aa657d80232d8bbce4ed359af2022f605c7 (diff) | |
download | busybox-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-1')
-rw-r--r-- | testsuite/date/date-works-1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/date/date-works-1 b/testsuite/date/date-works-1 index e318944..bd984c0 100644 --- a/testsuite/date/date-works-1 +++ b/testsuite/date/date-works-1 @@ -42,12 +42,12 @@ test x"$dt" = x"Jan 23 11:33:00" # date (GNU coreutils) 6.10 reports: # date: invalid date '012311332000' -dt=`busybox date -d 012311332000 +%c` +dt=`busybox date -d 200001231133 +%c` test x"$dt" = x"Sun Jan 23 11:33:00 2000" # date (GNU coreutils) 6.10 reports: # date: invalid date '012311332000' -dt=`busybox date -d 012311332000.30 +%c` +dt=`busybox date -d 200001231133.30 +%c` test x"$dt" = x"Sun Jan 23 11:33:30 2000" lcbbd="LC_ALL=C busybox date" |