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:
Denys Vlasenko 2013-12-31 18:57:39 +01:00
parent e83e1c50f2
commit 61be8e46a8
2 changed files with 8 additions and 6 deletions

View File

@ -31,9 +31,11 @@ dt=`busybox date -d '1999-1-2 3:4:5'`
dt=`echo "$dt" | cut -b1-19`
test x"$dt" = x"Sat Jan 2 03:04:05"
dt=`busybox date -d 01231133`
dt=`echo "$dt" | cut -b5-19`
test x"$dt" = x"Jan 23 11:33:00"
# date (GNU coreutils) 8.17 doesn't accept 01231133 either:
# date: invalid date '01231133'
#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=`echo "$dt" | cut -b1-19`

View File

@ -41,9 +41,9 @@ test x"$hdt" = x"$dt"
# Avoiding using week day in this evaluation, as it's mostly different every year
# date (GNU coreutils) 6.10 reports:
# date: invalid date '01231133'
dt=`busybox date -d 01231133 +%c`
dt=`echo "$dt" | cut -b5-19`
test x"$dt" = x"Jan 23 11:33:00"
#dt=`busybox date -d 01231133 +%c`
#dt=`echo "$dt" | cut -b5-19`
#test x"$dt" = x"Jan 23 11:33:00"
# date (GNU coreutils) 6.10 reports:
# date: invalid date '012311332000'