testsuite: disable tests for no longer supported bbox-specific date formats
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 31 Dec 2013 17:57:39 +0000 (18:57 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 31 Dec 2013 17:57:39 +0000 (18:57 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
testsuite/date/date-works
testsuite/date/date-works-1

index 901c485eccb82fdec8ae9cd13e698fbe88d8d47c..35c24686c13e147dfb73f71e54edbfe0db5e886f 100644 (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`
index cb5cea2c533ccb88e04ec372b826981cc3d9ba74..4f53939ee2c30285b834d713a9c83216ba914a4f 100644 (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'