1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core
Yusuke Endoh 2173ae7801 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
2020-02-09 11:13:06 +09:00
..
argf Fixed misspellings 2019-12-20 09:32:42 +09:00
array Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
basicobject
binding Make eval(code, binding) use (eval) as __FILE__ and 1 as __LINE__ 2020-01-03 20:13:09 -08:00
builtin_constants Update to ruby/spec@d419e74 2019-12-27 16:46:08 +01:00
class Update to ruby/spec@4eec3dc 2019-11-30 21:26:52 +01:00
comparable Comparable#clamp with a range [Feature #14784] 2019-10-16 01:42:34 +09:00
complex Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
data Update to ruby/spec@4eec3dc 2019-11-30 21:26:52 +01:00
dir Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
encoding Update to ruby/spec@7241f39 2019-12-27 17:36:07 +01:00
enumerable Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
enumerator Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
env Fixed misspellings 2019-12-20 09:32:42 +09:00
exception Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
false [EXPERIMENTAL] Make NilClass#to_s, TrueClass#to_s and FalseClass#to_s return a frozen String 2019-09-27 13:52:33 +09:00
fiber
file spec/ruby/core/file/utime_spec.rb: far future timestamp may be trancated 2020-02-09 11:13:06 +09:00
filetest
float Update to ruby/spec@4eec3dc 2019-11-30 21:26:52 +01:00
gc Update to ruby/spec@d419e74 2019-12-27 16:46:08 +01:00
hash Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
integer Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
io Update specs for keyword argument separation 2020-01-02 18:40:45 -08:00
kernel Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
main
marshal Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
matchdata Update to ruby/spec@4eec3dc 2019-11-30 21:26:52 +01:00
math
method Decide lambdaness of (f << g) using g (#2729) 2019-12-30 17:47:58 -05:00
module Fixed misspellings 2019-12-20 09:32:42 +09:00
mutex [ruby/spec] Just test that sleep completes 2020-02-06 15:42:16 +09:00
nil [EXPERIMENTAL] Make NilClass#to_s, TrueClass#to_s and FalseClass#to_s return a frozen String 2019-09-27 13:52:33 +09:00
numeric Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
objectspace
proc Fix Proc#<< spec 2019-12-30 18:13:55 -05:00
process spec/ruby/core/process/times_spec.rb: add an output code for debugging 2020-01-25 19:48:10 +09:00
queue
random Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
range Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
rational
regexp Update version guard 2020-01-15 10:50:53 +09:00
signal
sizedqueue
string Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
struct Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
symbol Update to ruby/spec@d419e74 2019-12-27 16:46:08 +01:00
systemexit
thread Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
threadgroup
time Update to ruby/spec@f8a2d54 2020-01-28 20:47:48 +01:00
tracepoint
true [EXPERIMENTAL] Make NilClass#to_s, TrueClass#to_s and FalseClass#to_s return a frozen String 2019-09-27 13:52:33 +09:00
unboundmethod Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
warning