diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index df556e95c8..9e8000f41a 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -651,12 +651,9 @@ class TestFileExhaustive < Test::Unit::TestCase 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) - assert_equal(stat.atime, File.lstat(symlinkfile).atime) - assert_equal(stat.mtime, File.lstat(symlinkfile).mtime) end def test_lutime