From 619e639eca3e163c4bed1fa45f605f612414c485 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 28 May 2010 08:58:54 -0700 Subject: [PATCH] fix rescue in file_system_test.rb --- bindings/ruby/test/file_system_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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