diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-08 07:13:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-08 07:13:04 +0000 |
commit | ec74acd1a97e84c27cc899bcf28cc2a6e62ba5a5 (patch) | |
tree | 590938769e232a0ea7c7579c70d084fbbbc85b79 | |
parent | d52ef7541f7dcf2965be1d9ed4c7885ae9284ce7 (diff) |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_file_exhaustive.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index 031499b448..df556e95c8 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -651,6 +651,7 @@ 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) |