Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File.utime() not working on s390x #8043

Open
jcharaoui opened this issue Dec 17, 2023 · 0 comments
Open

File.utime() not working on s390x #8043

jcharaoui opened this issue Dec 17, 2023 · 0 comments

Comments

@jcharaoui
Copy link
Contributor

jcharaoui commented Dec 17, 2023

Hello, since I started working on the Debian package of JRuby, I noticed that File.utime() calls would (silently) fail to modify a file's mtime. This happens not only with the Debian-packaged JRuby, but also with a vanilla build from HEAD. This leads to many parts of the test suite failing, eg.:

TestFile#test_utime = 0.02 s                               
  1) Failure:
TestFile#test_utime [/home/lavamind/jruby/test/mri/ruby/test_file.rb:357]:
[ruby-core:44776].
<2011-05-27 20:10:39 +0000> expected but was
<2023-12-17 15:52:21.156216792 +0000>.

but there are many other examples related to File.utime not working.

I'm not seeing such failures on other architectures.

Using CRuby however, File.utime() works and the test case above passes without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant