]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(test_vector): Add 364 more tests like the above.
authorJim Meyering <jim@meyering.net>
Sat, 13 Aug 2005 13:16:29 +0000 (13:16 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 13 Aug 2005 13:16:29 +0000 (13:16 +0000)
Remove unused $sunos4 variable.

tests/date/Test.pm

index 7f6577f083760cf3dbcc6f58f1d0c6d0b4130582..989bd27ee41ef2d4d0ea734a6dcf52ca3ed65d4e 100644 (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;