summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorusa <usa@ruby-lang.org>2010-12-01 06:09:22 +0000
committerusa <usa@ruby-lang.org>2010-12-01 06:09:22 +0000
commit82217b7bc9fdba58c53da4aeee3fa684ea7820dd (patch)
treeeb5e99bf36546e6301e21ac51262d5cd7b160aec /test
parent5362cea51d29ef4339487ac380e932aa6537a30e (diff)
downloadruby-openssl-history-82217b7bc9fdba58c53da4aeee3fa684ea7820dd.tar.gz
* test/openssl/test_ssl.rb (test_not_started_session): non socket
argument of SSLSocket.new is not supported on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/test_ssl.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_ssl.rb b/test/test_ssl.rb
index 4907c81..01c8439 100644
--- a/test/test_ssl.rb
+++ b/test/test_ssl.rb
@@ -161,6 +161,7 @@ class OpenSSL::TestSSL < Test::Unit::TestCase
end
def test_not_started_session
+ skip "non socket argument of SSLSocket.new is not supported on this platform" if /mswin|mingw/ =~ RUBY_PLATFORM
open(__FILE__) do |f|
assert_nil OpenSSL::SSL::SSLSocket.new(f).cert
end