← Commit list

941990f0c

Denys Vlasenko
Denys Vlasenko
2009-07-18
FAILED Duration: 33s

Subject

correct date testsuite to use compatible format

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

testsuite/date/date-works+2 -2
@@ -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"
testsuite/date/date-works-1+2 -2
@@ -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"