Issue #15972 has been updated by vo.x (Vit Ondruch).


I just wonder what FS are supported actually. I am using Ext4, which is not an esoteric FS IMO and this works:

~~~
$ stat --printf='%w' test/ruby/test_file_exhaustive.rb 
2019-07-03 12:33:07.270913105 +0200
~~~

----------------------------------------
Bug #15972: TestFileExhaustive#test_birthtime test failure
https://bugs.ruby-lang.org/issues/15972#change-79074

* Author: vo.x (Vit Ondruch)
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.7.0dev (2019-07-01T14:16:47Z master 7ff2bfed92) [x86_64-linux]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
On my Fedora Rawhide, I observer following test failure:

~~~
  1) Error:
TestFileExhaustive#test_birthtime:
NotImplementedError: birthtime is unimplemented on this filesystem
    /builddir/build/BUILD/ruby-2.7.0-76851381cb/test/ruby/test_file_exhaustive.rb:628:in `birthtime'
    /builddir/build/BUILD/ruby-2.7.0-76851381cb/test/ruby/test_file_exhaustive.rb:628:in `block in test_birthtime'
    /builddir/build/BUILD/ruby-2.7.0-76851381cb/test/ruby/test_file_exhaustive.rb:627:in `each'
    /builddir/build/BUILD/ruby-2.7.0-76851381cb/test/ruby/test_file_exhaustive.rb:627:in `test_birthtime'
~~~

~~~
$ rpm -q kernel
kernel-5.1.6-300.fc30.x86_64
kernel-5.1.7-300.fc30.x86_64
kernel-5.1.12-300.fc30.x86_64

$ uname -a
Linux 5ff87f630af347699a341a1277b8ddcc 5.1.12-300.fc30.x86_64 #1 SMP Wed Jun 19 15:19:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
~~~



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>