From 0145667581d304fdc8c67ad0a5ccf1432c499ee7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 8 Apr 2000 21:45:25 +0000 Subject: Add test for rfc822 format and foreign locale settings. --- tests/date/Test.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/date/Test.pm b/tests/date/Test.pm index 8d8375ace..ca20c7ab2 100644 --- a/tests/date/Test.pm +++ b/tests/date/Test.pm @@ -118,6 +118,9 @@ sub test_vector ['datevtime-1', "-d 000909 $fmt", {}, "2000-09-09 00:00:00", 0], + # test for RFC-822 conformance + ['rfc822-1', "-R -d '$d1'", {}, "Sun, 19 Jan 1997 09:17:48 +0100", 0], + # FIXME: add a lot more... ); @@ -142,6 +145,8 @@ sub test_vector $Test::env{'date2sec-0'} = ['TZ=UTC+2']; + $Test::env{'rfc822-1'} = ['LC_ALL=de_DE']; + return @tv; } -- cgit v1.2.3-70-g09d2