42 |
|
|
43 |
# date (GNU coreutils) 6.10 reports: |
# date (GNU coreutils) 6.10 reports: |
44 |
# date: invalid date '012311332000' |
# date: invalid date '012311332000' |
45 |
dt=`busybox date -d 012311332000 +%c` |
dt=`busybox date -d 200001231133 +%c` |
46 |
test x"$dt" = x"Sun Jan 23 11:33:00 2000" |
test x"$dt" = x"Sun Jan 23 11:33:00 2000" |
47 |
|
|
48 |
# date (GNU coreutils) 6.10 reports: |
# date (GNU coreutils) 6.10 reports: |
49 |
# date: invalid date '012311332000' |
# date: invalid date '012311332000' |
50 |
dt=`busybox date -d 012311332000.30 +%c` |
dt=`busybox date -d 200001231133.30 +%c` |
51 |
test x"$dt" = x"Sun Jan 23 11:33:30 2000" |
test x"$dt" = x"Sun Jan 23 11:33:30 2000" |
52 |
|
|
53 |
lcbbd="LC_ALL=C busybox date" |
lcbbd="LC_ALL=C busybox date" |
126 |
|
|
127 |
# This should error out (by showing usage text). Testing for that |
# This should error out (by showing usage text). Testing for that |
128 |
dt=`busybox date -d 012311332000.30 %+c 2>&1 | head -n 1` |
dt=`busybox date -d 012311332000.30 %+c 2>&1 | head -n 1` |
129 |
test x"${dt#BusyBox * multi-call binary}" = x |
test x"${dt##BusyBox * multi-call binary*}" = x"" |