From: Jim Meyering Date: Sat, 13 Aug 2005 13:16:29 +0000 (+0000) Subject: (test_vector): Add 364 more tests like the above. X-Git-Tag: CPPI-1_12~172 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3bde3aa184b99e40f773252617688f386a94723;p=thirdparty%2Fcoreutils.git (test_vector): Add 364 more tests like the above. Remove unused $sunos4 variable. --- 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;