ruby-changes:48960
From: nobu <ko1@a...>
Date: Fri, 8 Dec 2017 16:13:09 +0900 (JST)
Subject: [ruby-changes:48960] nobu:r61079 (trunk): test_file_exhaustive.rb: test_utime_symlinkfile
nobu 2017-12-08 16:13:04 +0900 (Fri, 08 Dec 2017) New Revision: 61079 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61079 Log: test_file_exhaustive.rb: test_utime_symlinkfile * test_file_exhaustive.rb (test_utime_symlinkfile): investigate failures on some platforms. wait a second to tell if symlink atime is changed. Modified files: trunk/test/ruby/test_file_exhaustive.rb Index: test/ruby/test_file_exhaustive.rb =================================================================== --- test/ruby/test_file_exhaustive.rb (revision 61078) +++ test/ruby/test_file_exhaustive.rb (revision 61079) @@ -651,6 +651,7 @@ class TestFileExhaustive < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/ruby/test_file_exhaustive.rb#L651 return unless symlinkfile t = Time.local(2000) stat = File.lstat(symlinkfile) + sleep 1 assert_equal(1, File.utime(t, t, symlinkfile)) assert_equal(t, File.stat(regular_file).atime) assert_equal(t, File.stat(regular_file).mtime) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/