Project

General

Profile

Actions

Bug #7276

closed

TestFile#test_utime failure

Added by jonforums (Jon Forums) over 11 years ago. Updated about 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-11-04 trunk 37467) [i386-mingw32]
Backport:
[ruby-core:48854]

Description

I'm currently travelling and am in UTC-5. I get the following make test-all failure on Win7 32bit with mingw-w64 gcc 4.7.2. It appears that trunk@37467 is not handling daylight savings time correctly.

I'm not going to have time to try to repro on my Arch system, but can anyone else in UTC-5 (or other DST observing region) repro on either a Win7 or Linux system?

[ 3509/11467] TestFile#test_utime = 0.00 s
5) Failure:
test_utime(TestFile) [c:/Jenkins/workspace/ruby-trunk-svn/test/ruby/test_file.rb:287]:
[ruby-core:44776].
<2011-05-27 16:10:39 -0400> expected but was
<2011-05-27 15:10:39 -0400>.
...
Finished tests in 641.449135s, 17.8767 tests/s, 4150.9932 assertions/s.
11467 tests, 2662651 assertions, 1 failures, 0 errors, 83 skips

ruby -v: ruby 2.0.0dev (2012-11-04 trunk 37467) [i386-mingw32]


Related issues 1 (0 open1 closed)

Related to Backport193 - Backport #6385: mtime vie File.stat(filename).utime vs File.open(filename, 'r').mtime in WindowsClosedluislavena (Luis Lavena)05/01/2012Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0