Opened 15 years ago
Closed 15 years ago
#356 closed defect (fixed)
date test program fails
Reported by: | Jari Häkkinen | Owned by: | Peter Johansson |
---|---|---|---|
Priority: | major | Milestone: | svndigest 0.6.7 |
Component: | test | Version: | 0.6.6 |
Keywords: | Cc: |
Description
Running 'make check' fails on 0.6 branch. It may have something to do with shifting between standard time and daylight saving time.
# cd test # ./date -v date("%H:%M") returns: 16:40 expected '15:40'
Change History (4)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
A better idea is likely to look into the trunk. The corresponding test doesn't failure in trunk.
comment:3 Changed 15 years ago by
Owner: | changed from Jari Häkkinen to Peter Johansson |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
The problem lies in
Date::svntime
.There is a call to
tm_gmtoff
that on my computer is set to -4 while I would expect -5 having NYC time on my Mac. The discrepancy explains the failure, but need to look into<ctime>
to come up with a fix.