(test_vector): Add 364 more tests like the above.

Remove unused $sunos4 variable.
This commit is contained in:
Jim Meyering 2005-08-13 13:16:29 +00:00
parent ca55c7bf7f
commit a3bde3aa18

View File

@ -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;