aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-12-31 18:57:39 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-12-31 18:57:39 +0100
commit61be8e46a80749fe5bb16bc8f831c689d21a4e34 (patch)
tree657cb8eff1749f2683e32bcc4cf2a5e0a1fbd50a
parente83e1c50f20f01fbb10cf65532a966f7f63a6b6d (diff)
downloadbusybox-w32-61be8e46a80749fe5bb16bc8f831c689d21a4e34.tar.gz
busybox-w32-61be8e46a80749fe5bb16bc8f831c689d21a4e34.tar.bz2
busybox-w32-61be8e46a80749fe5bb16bc8f831c689d21a4e34.zip
testsuite: disable tests for no longer supported bbox-specific date formats
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--testsuite/date/date-works8
-rw-r--r--testsuite/date/date-works-16
2 files changed, 8 insertions, 6 deletions
diff --git a/testsuite/date/date-works b/testsuite/date/date-works
index 901c485ec..35c24686c 100644
--- a/testsuite/date/date-works
+++ b/testsuite/date/date-works
@@ -31,9 +31,11 @@ dt=`busybox date -d '1999-1-2 3:4:5'`
31dt=`echo "$dt" | cut -b1-19` 31dt=`echo "$dt" | cut -b1-19`
32test x"$dt" = x"Sat Jan 2 03:04:05" 32test x"$dt" = x"Sat Jan 2 03:04:05"
33 33
34dt=`busybox date -d 01231133` 34# date (GNU coreutils) 8.17 doesn't accept 01231133 either:
35dt=`echo "$dt" | cut -b5-19` 35# date: invalid date '01231133'
36test x"$dt" = x"Jan 23 11:33:00" 36#dt=`busybox date -d 01231133`
37#dt=`echo "$dt" | cut -b5-19`
38#test x"$dt" = x"Jan 23 11:33:00"
37 39
38dt=`busybox date -d 200001231133` 40dt=`busybox date -d 200001231133`
39dt=`echo "$dt" | cut -b1-19` 41dt=`echo "$dt" | cut -b1-19`
diff --git a/testsuite/date/date-works-1 b/testsuite/date/date-works-1
index cb5cea2c5..4f53939ee 100644
--- a/testsuite/date/date-works-1
+++ b/testsuite/date/date-works-1
@@ -41,9 +41,9 @@ test x"$hdt" = x"$dt"
41# Avoiding using week day in this evaluation, as it's mostly different every year 41# Avoiding using week day in this evaluation, as it's mostly different every year
42# date (GNU coreutils) 6.10 reports: 42# date (GNU coreutils) 6.10 reports:
43# date: invalid date '01231133' 43# date: invalid date '01231133'
44dt=`busybox date -d 01231133 +%c` 44#dt=`busybox date -d 01231133 +%c`
45dt=`echo "$dt" | cut -b5-19` 45#dt=`echo "$dt" | cut -b5-19`
46test x"$dt" = x"Jan 23 11:33:00" 46#test x"$dt" = x"Jan 23 11:33:00"
47 47
48# date (GNU coreutils) 6.10 reports: 48# date (GNU coreutils) 6.10 reports:
49# date: invalid date '012311332000' 49# date: invalid date '012311332000'