diff options
Diffstat (limited to 'test/exec')
-rw-r--r-- | test/exec/test_exec.rb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/test/exec/test_exec.rb b/test/exec/test_exec.rb index 9723c5c..8a6b43e 100644 --- a/test/exec/test_exec.rb +++ b/test/exec/test_exec.rb @@ -193,8 +193,8 @@ EOF assert_equal other.path, results.first Process.kill(:QUIT, pid) - ensure - FileUtils.rmtree(other.path) + ensure + FileUtils.rmtree(other.path) end def test_working_directory @@ -229,8 +229,8 @@ EOF assert_equal other.path, results.first Process.kill(:QUIT, pid) - ensure - FileUtils.rmtree(other.path) + ensure + FileUtils.rmtree(other.path) end def test_working_directory_controls_relative_paths @@ -271,11 +271,10 @@ EOF wait_master_ready("#{other.path}/stderr_log_here") Process.kill(:QUIT, pid) - ensure - FileUtils.rmtree(other.path) + ensure + FileUtils.rmtree(other.path) end - def test_exit_signals %w(INT TERM QUIT).each do |sig| File.open("config.ru", "wb") { |fp| fp.syswrite(HI) } |