diff options
Diffstat (limited to 'test/ruby/test_file.rb')
-rw-r--r-- | test/ruby/test_file.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index 7410652537..8906e15ad0 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -389,7 +389,10 @@ class TestFile < Test::Unit::TestCase open(__FILE__) do |f| st = f.statfs assert_kind_of File::Statfs, st - assert_kind_of Integer, st.type + begin + assert_kind_of Integer, st.type + rescue NotImplementedError + end assert_kind_of Integer, st.bsize assert_kind_of Integer, st.blocks assert_kind_of Integer, st.bfree |