diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-26 07:34:50 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-26 07:34:50 +0000 |
commit | 075ca923a4b3bb4a47250ffe957906b8047eb47f (patch) | |
tree | 05cef34ae8118dfa94aa80ea519dd8492160ef83 /test/ruby | |
parent | 2c23bf741f6cde803c5232c02fd4f79ef51dc5b1 (diff) |
* test/ruby/test_file.rb: skip the test of atime on Windows, because
Windows delays updating atime about 1 hour.
see more details:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724290%28v=vs.85%29.aspx
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_file.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index 537deefed3..51fffadb68 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -334,6 +334,7 @@ class TestFile < Test::Unit::TestCase if stat.birthtime != stat.ctime assert_in_delta t0+4, stat.ctime.to_f, delta end + skip "Windows delays updating atime" if /mswin|mingw/ =~ RUBY_PLATFORM assert_in_delta t0+6, stat.atime.to_f, delta rescue NotImplementedError ensure |