From: Jim Meyering Date: Tue, 10 Jun 2003 06:37:03 +0000 (+0000) Subject: Add a test for the new format, e.g., May-23-2003. X-Git-Tag: v5.0.1~282 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=068f2224f983d4b4c5cac176c4f2b106be38395c;p=thirdparty%2Fcoreutils.git Add a test for the new format, e.g., May-23-2003. --- diff --git a/tests/date/Test.pm b/tests/date/Test.pm index e6df464b08..4b3774ab10 100644 --- a/tests/date/Test.pm +++ b/tests/date/Test.pm @@ -142,6 +142,8 @@ sub test_vector # due to a bug in strftime.c. ['wide-fmt', "-d '1999-06-01' +%3004Y", {}, '0' x 3000 . '1999', 0], + # Ensure that we can parse MONTHNAME-DAY-YEAR. + ['moname-d-y', '--iso -d May-23-2003', {}, '2003-05-23', 0], # FIXME: add a lot more... );