diff options
author | Jim Meyering <jim@meyering.net> | 2005-08-13 13:16:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-08-13 13:16:29 +0000 |
commit | a3bde3aa184b99e40f773252617688f386a94723 (patch) | |
tree | 386021ca4999f735c4d8a0fce33acb9412bdd725 | |
parent | ca55c7bf7f1cea11477dc5fd573445c04d70fce7 (diff) | |
download | coreutils-a3bde3aa184b99e40f773252617688f386a94723.tar.xz |
(test_vector): Add 364 more tests like the above.
Remove unused $sunos4 variable.
-rw-r--r-- | tests/date/Test.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/date/Test.pm b/tests/date/Test.pm index 7f6577f08..989bd27ee 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; |