diff --git a/bindings/ruby/test/file_system_test.rb b/bindings/ruby/test/file_system_test.rb index 4010df36..b40254c2 100644 --- a/bindings/ruby/test/file_system_test.rb +++ b/bindings/ruby/test/file_system_test.rb @@ -30,7 +30,7 @@ class FileSystemTest < Test::Unit::TestCase begin usage = sigar.file_system_usage fs.dir_name - rescue err + rescue => err if fs.type == Sigar::FSTYPE_LOCAL_DISK raise err end