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/file
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
..
constants
fixtures
shared Update to ruby/spec@4f59d86 2020-10-24 15:53:53 +02:00
stat Make the test suite pass on real Android/Termux environment 2020-10-12 21:26:05 +09:00
absolute_path_spec.rb Update to ruby/spec@335eb9b 2020-08-28 20:26:02 +02:00
atime_spec.rb Use platform_is guard 2020-04-03 09:47:19 +09:00
basename_spec.rb
birthtime_spec.rb
blockdev_spec.rb
chardev_spec.rb
chmod_spec.rb Fixed misspellings 2019-12-20 09:32:42 +09:00
chown_spec.rb
constants_spec.rb
ctime_spec.rb Use platform_is guard 2020-04-03 09:47:19 +09:00
delete_spec.rb
directory_spec.rb
dirname_spec.rb
empty_spec.rb
executable_real_spec.rb
executable_spec.rb
exist_spec.rb
expand_path_spec.rb Update to ruby/spec@032ee74 2020-05-03 12:28:29 +02:00
extname_spec.rb Revert "Should return "." for File.extname("file.") also on Windows" 2019-12-23 11:54:25 +09:00
file_spec.rb
flock_spec.rb
fnmatch_spec.rb
ftype_spec.rb Update to ruby/spec@ec84479 2020-03-28 00:22:51 +01:00
grpowned_spec.rb
identical_spec.rb
initialize_spec.rb
inspect_spec.rb
join_spec.rb Update to ruby/spec@d394dfd 2020-05-02 16:03:14 +02:00
lchmod_spec.rb Removed meaningless system dependent tests 2020-10-02 08:43:33 +09:00
lchown_spec.rb
link_spec.rb Make the test suite pass on real Android/Termux environment 2020-10-12 21:26:05 +09:00
lstat_spec.rb Update to ruby/spec@032ee74 2020-05-03 12:28:29 +02:00
lutime_spec.rb Drop support for ruby 2.4 from ruby/spec 2020-04-01 15:36:20 +09:00
mkfifo_spec.rb
mtime_spec.rb Use platform_is guard 2020-04-03 09:47:19 +09:00
new_spec.rb Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
null_spec.rb
open_spec.rb Update to ruby/spec@032ee74 2020-05-03 12:28:29 +02:00
owned_spec.rb
path_spec.rb
pipe_spec.rb
printf_spec.rb
read_spec.rb
readable_real_spec.rb
readable_spec.rb
readlink_spec.rb Get rid of false positive misspellings 2019-12-24 10:33:32 +09:00
realdirpath_spec.rb
realpath_spec.rb Update to ruby/spec@41bf282 2020-02-28 19:07:17 +01:00
rename_spec.rb Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
reopen_spec.rb
setgid_spec.rb
setuid_spec.rb
size_spec.rb
socket_spec.rb
split_spec.rb
stat_spec.rb Update to ruby/spec@032ee74 2020-05-03 12:28:29 +02:00
sticky_spec.rb
symlink_spec.rb
to_path_spec.rb
truncate_spec.rb Update to ruby/spec@032ee74 2020-05-03 12:28:29 +02:00
umask_spec.rb
unlink_spec.rb
utime_spec.rb spec/ruby/core/file/utime_spec.rb: XFS seems to have Year 2038 problem 2020-11-12 23:39:27 +09:00
world_readable_spec.rb Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
world_writable_spec.rb Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
writable_real_spec.rb
writable_spec.rb
zero_spec.rb