STDIN is not valid when ruby doesn't have tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
10c73a7b44
commit
a33b5edda0
@ -161,7 +161,9 @@ class OpenSSL::TestSSL < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_not_started_session
|
||||
OpenSSL::SSL::SSLSocket.new(STDIN).cert
|
||||
open(__FILE__) do |f|
|
||||
OpenSSL::SSL::SSLSocket.new(f).cert
|
||||
end
|
||||
end
|
||||
|
||||
def test_ssl_read_nonblock
|
||||
|
Loading…
x
Reference in New Issue
Block a user