-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
jnr/jnr-posix
#107Milestone
Description
The following code works as expected in MRI, but fails in JRuby 9.1.9.0.
F = '/tmp/test'
File.open(F, 'w') {} # "touch" the file
mtime = File.mtime(F)
File.utime(Time.now, 0, F)
File.mtime(F).to_i == 0 or raise "mtime should be 0"
File.utime(Time.now, mtime, F)
File.mtime(F).to_i == mtime.to_i or raise "File.mtime should be == mtime"Found while testing the filepath gem via Travis-CI. The log is available at https://travis-ci.org/gioele/filepath/jobs/251546194
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels