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 6325866421 spec/ruby/core/file/utime_spec.rb: XFS seems to have Year 2038 problem
https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel8/ruby-master/log/20201112T123004Z.fail.html.gz
```
1)
File.utime allows Time instances in the far future to set mtime and
atime (but some filesystems limit it up to 2446-05-10) FAILED
Expected [559444, 2446].include? 2038
to be truthy but was false
/home/chkbuild/chkbuild/tmp/build/20201112T123004Z/ruby/spec/ruby/core/file/utime_spec.rb:80:in
`block (4 levels) in <top (required)>'
/home/chkbuild/chkbuild/tmp/build/20201112T123004Z/ruby/spec/ruby/core/file/utime_spec.rb:3:in
`<top (required)>'
```

```
$ touch foo
$ ./miniruby -e 'time = Time.at(1<<44); File.utime(time, time, "foo")'
$ ls -l foo
-rw-r--r--. 1 mame wheel 0 Jan 19  2038 foo
```
2020-11-12 23:39:27 +09:00
..
argf
array Make Array methods return Array instances instead of subclass instances 2020-11-03 14:01:38 -08:00
basicobject
binding 2.8 -> 3.0 in specs 2020-09-15 21:56:00 +02:00
builtin_constants
class Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
comparable
complex Update to ruby/spec@e829fb0 2020-09-17 11:42:26 +02:00
data Update to ruby/spec@bfd843a 2020-09-30 13:43:19 +02:00
dir
encoding Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
enumerable Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
enumerator numeric.c, range.c: prohibit zero step 2020-10-23 15:26:51 +09:00
env Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
exception Update to ruby/spec@681e8cf 2020-09-30 12:39:20 +02:00
false
fiber relax Fiber#transfer's restriction 2020-10-12 22:58:41 +09:00
file spec/ruby/core/file/utime_spec.rb: XFS seems to have Year 2038 problem 2020-11-12 23:39:27 +09:00
filetest
float Update to ruby/spec@335eb9b 2020-08-28 20:26:02 +02:00
gc
hash Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
integer Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
io 2.8 -> 3.0 in specs 2020-09-15 21:56:00 +02:00
kernel Ignore <internal: entries from core library methods for Kernel#warn(message, uplevel: n) 2020-10-26 08:47:33 +01:00
main
marshal Update to ruby/spec@bfd843a 2020-09-30 13:43:19 +02:00
matchdata
math
method Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
module Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
mutex 2.8 -> 3.0 in specs 2020-09-15 21:56:00 +02:00
nil Update to ruby/spec@e829fb0 2020-09-17 11:42:26 +02:00
numeric numeric.c, range.c: prohibit zero step 2020-10-23 15:26:51 +09:00
objectspace Fix typos [ci skip] 2020-10-19 13:20:34 +09:00
proc 2.8 -> 3.0 in specs 2020-09-15 21:56:00 +02:00
process spec/ruby/core/process/spawn_spec.rb: skip a test on Android 2020-10-01 13:27:32 +09:00
queue
random
range Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
rational
regexp 2.8 -> 3.0 in specs 2020-09-15 21:56:00 +02:00
signal
sizedqueue
string Update to ruby/spec@9277d27 2020-09-30 12:21:48 +02:00
struct
symbol Update to ruby/spec@e829fb0 2020-09-17 11:42:26 +02:00
systemexit
thread Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
threadgroup
time 2.8 -> 3.0 in specs 2020-09-15 21:56:00 +02:00
tracepoint 2.8 -> 3.0 in specs 2020-09-15 21:56:00 +02:00
true Update to ruby/spec@e829fb0 2020-09-17 11:42:26 +02:00
unboundmethod Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
warning Fix Rubyspec (ruby-2.7) failures 2020-11-01 17:37:03 +09:00