mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
2c23bf741f
commit
075ca923a4
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
Mon May 26 16:33:15 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* 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
|
||||
|
||||
Mon May 26 12:25:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/optionparser.rb, lib/optparse.rb (OptParse): aliases.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue