From 4af7f77d0ffe4371610143731e08f6e74314b4a1 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 22 Feb 2019 06:43:11 +0000 Subject: [PATCH] STATX_BTIME depends on filesystems git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/pathname/test_pathname.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb index ef88e284e8..8e6681232b 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -797,6 +797,8 @@ class TestPathname < Test::Unit::TestCase rescue Errno::EPERM # Docker prohibits statx syscall by the default. skip("statx(2) is prohibited by seccomp") + rescue Errno::ENOSYS + skip("statx(2) is not supported on this filesystem") rescue NotImplementedError # assert_raise(NotImplementedError) do # File.birthtime("a")