diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2020-11-12 23:36:47 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-11-12 23:39:27 +0900 |
| commit | 6325866421d552c43ecc0f631fc9e848f9a2862f (patch) | |
| tree | 73893608618441c7b6be4dde8767c8d823b90add /lib/webrick/httpserver.rb | |
| parent | 028d52bb940d03c120bf274748f52794d001af47 (diff) | |
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
```
Diffstat (limited to 'lib/webrick/httpserver.rb')
0 files changed, 0 insertions, 0 deletions
