1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00

(relative-3): New test, derived from a bug report by John Thomas McDole.

This commit is contained in:
Paul Eggert
2006-04-25 10:29:10 +00:00
parent 9f0b994993
commit dfef85e753
2 changed files with 10 additions and 1 deletions

View File

@@ -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"}],