diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-22 13:19:15 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-22 13:19:15 +0000 |
commit | 026b0b9469286d5166f7238351df0042fdbf4d9a (patch) | |
tree | af14fd04359280a6adda384eddb4cb515ac0ee3b /test | |
parent | 3b1862e62fc398126ab3a6ebb28b86cec728ffcc (diff) | |
download | ruby-026b0b9469286d5166f7238351df0042fdbf4d9a.tar.gz |
* file.c (rb_io_statfs): need to define even if the system doesn't have
fstatfs(2).
* test/ruby/test_file.rb (TestFile#test_statfs): skip if IO#stafs is not
implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_file.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index 9775c91ce3..77be3237c3 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -385,6 +385,7 @@ class TestFile < Test::Unit::TestCase end def test_statfs + skip "not implemented" unless $stdout.respond_to?(:statfs) open(__FILE__) do |f| st = f.statfs assert_kind_of File::Statfs, st |