ruby-changes:2432
From: ko1@a...
Date: 14 Nov 2007 16:17:36 +0900
Subject: [ruby-changes:2432] matz - Ruby:r13923 (trunk): * test/net/http/test_https_proxy.rb
matz 2007-11-14 16:17:18 +0900 (Wed, 14 Nov 2007) New Revision: 13923 Modified files: trunk/ChangeLog trunk/test/net/http/test_https_proxy.rb Log: * test/net/http/test_https_proxy.rb (HTTPSProxyTest::test_https_proxy_authentication): initialize local variable 't' first. [ruby-dev:32253] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13923&r2=13922 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/net/http/test_https_proxy.rb?r1=13923&r2=13922 Index: ChangeLog =================================================================== --- ChangeLog (revision 13922) +++ ChangeLog (revision 13923) @@ -1,3 +1,9 @@ +Wed Nov 14 16:16:17 2007 Yukihiro Matsumoto <matz@r...> + + * test/net/http/test_https_proxy.rb + (HTTPSProxyTest::test_https_proxy_authentication): initialize + local variable 't' first. [ruby-dev:32253] + Wed Nov 14 15:39:24 2007 Yukihiro Matsumoto <matz@r...> * test/socket/test_socket.rb: update not to use 1.8 assignment to Index: test/net/http/test_https_proxy.rb =================================================================== --- test/net/http/test_https_proxy.rb (revision 13922) +++ test/net/http/test_https_proxy.rb (revision 13923) @@ -6,6 +6,7 @@ class HTTPSProxyTest < Test::Unit::TestCase def test_https_proxy_authentication + t = nil TCPServer.open("127.0.0.1", 0) {|serv| _, port, _, _ = serv.addr t = Thread.new { @@ -25,6 +26,8 @@ proxy_request, "[ruby-dev:25673]") } + ensure + t.join if t end end if defined?(OpenSSL) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml