From 5fb266b5c0a75d542b462eba1883d4908b7cea58 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Fri, 16 Jul 2004 05:56:44 +0000 Subject: * test/openssl/ssl_server.rb, test/openssl/test_ssl.rb: workaround to terminate child process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/openssl/test_ssl.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/openssl/test_ssl.rb') diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index 55f7920313..e13ccbfb14 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -70,9 +70,8 @@ class OpenSSL::TestSSL < Test::Unit::TestCase block.call(server) ensure if server - server.close_write - Process.kill(:TERM, pid) rescue nil - Process.waitpid(pid) + Process.kill(:KILL, pid) + server.close end end end -- cgit v1.2.3