testsuite: disable tests for no longer supported bbox-specific date formats
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
e83e1c50f2
commit
61be8e46a8
@ -31,9 +31,11 @@ dt=`busybox date -d '1999-1-2 3:4:5'`
|
|||||||
dt=`echo "$dt" | cut -b1-19`
|
dt=`echo "$dt" | cut -b1-19`
|
||||||
test x"$dt" = x"Sat Jan 2 03:04:05"
|
test x"$dt" = x"Sat Jan 2 03:04:05"
|
||||||
|
|
||||||
dt=`busybox date -d 01231133`
|
# date (GNU coreutils) 8.17 doesn't accept 01231133 either:
|
||||||
dt=`echo "$dt" | cut -b5-19`
|
# date: invalid date '01231133'
|
||||||
test x"$dt" = x"Jan 23 11:33:00"
|
#dt=`busybox date -d 01231133`
|
||||||
|
#dt=`echo "$dt" | cut -b5-19`
|
||||||
|
#test x"$dt" = x"Jan 23 11:33:00"
|
||||||
|
|
||||||
dt=`busybox date -d 200001231133`
|
dt=`busybox date -d 200001231133`
|
||||||
dt=`echo "$dt" | cut -b1-19`
|
dt=`echo "$dt" | cut -b1-19`
|
||||||
|
@ -41,9 +41,9 @@ test x"$hdt" = x"$dt"
|
|||||||
# Avoiding using week day in this evaluation, as it's mostly different every year
|
# Avoiding using week day in this evaluation, as it's mostly different every year
|
||||||
# date (GNU coreutils) 6.10 reports:
|
# date (GNU coreutils) 6.10 reports:
|
||||||
# date: invalid date '01231133'
|
# date: invalid date '01231133'
|
||||||
dt=`busybox date -d 01231133 +%c`
|
#dt=`busybox date -d 01231133 +%c`
|
||||||
dt=`echo "$dt" | cut -b5-19`
|
#dt=`echo "$dt" | cut -b5-19`
|
||||||
test x"$dt" = x"Jan 23 11:33:00"
|
#test x"$dt" = x"Jan 23 11:33:00"
|
||||||
|
|
||||||
# date (GNU coreutils) 6.10 reports:
|
# date (GNU coreutils) 6.10 reports:
|
||||||
# date: invalid date '012311332000'
|
# date: invalid date '012311332000'
|
||||||
|
Loading…
Reference in New Issue
Block a user