summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-02-09 11:04:53 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-02-09 11:13:06 +0900
commit2173ae7801c90ef5837b388a7b3f832732785aea (patch)
treee5ea56ccb33a4bf4531776eaad2fde9e6cf46319 /include
parentacb9b73495e7a9b4bf52b33dabf1714834c1d9ae (diff)
spec/ruby/core/file/utime_spec.rb: far future timestamp may be trancated
Under some Ext4 filesystem settings, a timestamp is limited up to 0x37fffffff (2446-05-10). https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#Inode_Timestamps > Therefore, timestamps should not overflow until May 2446. Actually the spec fails under one of our CI environments, like: ``` 1) File.utime allows Time instances in the far future to set mtime and atime FAILED Expected 2446 == 559444 to be truthy but was false ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/arch/ruby-master/log/20200208T180002Z.fail.html.gz
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions