From: Brandon Casey Date: Tue, 6 Jul 2010 23:34:20 +0000 (-0500) Subject: t/t0006: specify timezone as EST5 not EST to comply with POSIX X-Git-Tag: v1.7.2-rc2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0cc4da303641611e8d9cc431e7b4d3f1a6a0dc86;p=git.git t/t0006: specify timezone as EST5 not EST to comply with POSIX POSIX requires that both the timezone "standard" and "offset" be specified in the TZ environment variable. This causes a problem on IRIX which does not understand the timezone 'EST'. Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano --- diff --git a/t/t0006-date.sh b/t/t0006-date.sh index b2df4fe10..1d4d0a5c7 100755 --- a/t/t0006-date.sh +++ b/t/t0006-date.sh @@ -39,7 +39,7 @@ check_parse 2008-02 bad check_parse 2008-02-14 bad check_parse '2008-02-14 20:30:45' '2008-02-14 20:30:45 +0000' check_parse '2008-02-14 20:30:45 -0500' '2008-02-14 20:30:45 -0500' -check_parse '2008-02-14 20:30:45' '2008-02-14 20:30:45 -0500' EST +check_parse '2008-02-14 20:30:45' '2008-02-14 20:30:45 -0500' EST5 check_approxidate() { echo "$1 -> $2 +0000" >expect