diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_dir.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index 36d7407d92..0ea28f55d8 100644 --- a/test/ruby/test_dir.rb +++ b/test/ruby/test_dir.rb @@ -7,6 +7,8 @@ require 'pathname' class TestDir < Test::Unit::TestCase def setup + @verbose = $VERBOSE + $VERBOSE = nil @root = Pathname.new(Dir.mktmpdir('__test_dir__')).realpath.to_s @nodir = File.join(@root, "dummy") for i in ?a..?z @@ -19,6 +21,7 @@ class TestDir < Test::Unit::TestCase end def teardown + $VERBOSE = @verbose FileUtils.remove_entry_secure @root if File.directory?(@root) end |