From a3bde3aa184b99e40f773252617688f386a94723 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 Aug 2005 13:16:29 +0000 Subject: [PATCH] (test_vector): Add 364 more tests like the above. Remove unused $sunos4 variable. --- tests/date/Test.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/date/Test.pm b/tests/date/Test.pm index 7f6577f083..989bd27ee4 100644 --- a/tests/date/Test.pm +++ b/tests/date/Test.pm @@ -171,7 +171,11 @@ sub test_vector # FIXME: add a lot more... ); - my $sunos4 = "$Config::Config{osname}$Config::Config{osvers}" =~ /sunos4/; + # Repeat the cross-dst test, using Jan 1, 2005 and every interval from 1..364. + foreach my $i (1..364) + { + push @tvec, ["cross-dst$i", "-d '2005-01-01 +$i day' +%Y", {}, '2005', 0]; + } my @tv; my $t; -- 2.47.3