summaryrefslogtreecommitdiff
path: root/test/net/http/test_https.rb
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-26 05:54:29 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-26 05:54:29 +0000
commit9b16b7478a5e451f36d9be00977b3a16a3635b8e (patch)
tree91488b002d47bf2fd4f2ab6e075b85f30a02752c /test/net/http/test_https.rb
parent22783fdbc5a5421b27a9707b9e681957f95aba67 (diff)
* test/net/http/test_https.rb (TestNetHTTPS#test_session_reuse): localhost is not (always) 127.0.0.1. Don't expect that.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/http/test_https.rb')
-rw-r--r--test/net/http/test_https.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index 2a42db7209..60590d3c22 100644
--- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb
@@ -80,6 +80,8 @@ class TestNetHTTPS < Test::Unit::TestCase
socket = http.instance_variable_get(:@socket).io
assert socket.session_reused?
+ rescue SystemCallError
+ skip $!
end
if ENV["RUBY_OPENSSL_TEST_ALL"]