summaryrefslogtreecommitdiff
path: root/test/shell/test_command_processor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/shell/test_command_processor.rb')
-rw-r--r--test/shell/test_command_processor.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/shell/test_command_processor.rb b/test/shell/test_command_processor.rb
index 7e8ff9fb28..2d3f8a4b1a 100644
--- a/test/shell/test_command_processor.rb
+++ b/test/shell/test_command_processor.rb
@@ -11,6 +11,10 @@ class TestShell::CommandProcessor < Test::Unit::TestCase
@shell.system_path = [@tmpdir]
end
+ def teardown
+ Dir.rmdir(@tmpdir)
+ end
+
def catch_command_start(tc = Object.new)
@shell.process_controller.singleton_class.class_eval do
define_method(:add_schedule) {|cmd| throw tc, cmd}