(relative-3): New test, derived from a bug report by John Thomas McDole.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Apr 2006 10:29:10 +0000 (10:29 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Apr 2006 10:29:10 +0000 (10:29 +0000)
ChangeLog
tests/misc/date

index 6061047..9265a4d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
-2006-04-23  Francesco Montorsi  <fr_m@hotmail.com>
+2006-04-25  Paul Eggert  <eggert@cs.ucla.edu>
 
        * Version 6.0-cvs.
 
+       * tests/misc/date (relative-3): New test, derived from a bug
+       report by John Thomas McDole.
+
+2006-04-23  Francesco Montorsi  <fr_m@hotmail.com>
+
        New option for ls: --group-directories-first.
        It makes ls list directories before files.
        * NEWS [New features]: Mention it.
index 5fca6a0..56577b3 100755 (executable)
@@ -177,6 +177,10 @@ my @Tests =
       {OUT=>"2000-06-15 09:43:57"},
       {ENV => 'TZ=UTC+1'}],
 
+     # Relative days, no time, across time zones.
+     ['relative-3', "-I -d '2006-04-23 21 days ago'", {OUT=>"2006-04-02"},
+        {ENV=>'TZ=PST8PDT,M4.1.0,M10.5.0'}],
+
      # This would infloop (or appear to) prior to coreutils-4.5.5,
      # due to a bug in strftime.c.
      ['wide-fmt', "-d '1999-06-01'", '+%3004Y', {OUT=>'0' x 3000 . "1999"}],