зеркало из https://github.com/github/ruby.git
* test/net/http/test_https.rb (test_identity_verify_failure): follows
the SSL hostname check error message of openssl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
050d7453b7
Коммит
e54c30c05e
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Sep 9 17:15:15 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/net/http/test_https.rb (test_identity_verify_failure): follows
|
||||||
|
the SSL hostname check error message of openssl.
|
||||||
|
|
||||||
Thu Sep 9 10:44:46 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
Thu Sep 9 10:44:46 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* test/ruby/test_env.rb (test_aset): OpenBSD acts like NetBSD in
|
* test/ruby/test_env.rb (test_aset): OpenBSD acts like NetBSD in
|
||||||
|
|
|
@ -92,6 +92,6 @@ class TestNetHTTPS < Test::Unit::TestCase
|
||||||
ex = assert_raise(OpenSSL::SSL::SSLError){
|
ex = assert_raise(OpenSSL::SSL::SSLError){
|
||||||
http.request_get("/") {|res| }
|
http.request_get("/") {|res| }
|
||||||
}
|
}
|
||||||
assert_match(/hostname was not match/, ex.message)
|
assert_match(/hostname does not match/, ex.message)
|
||||||
end
|
end
|
||||||
end if defined?(OpenSSL)
|
end if defined?(OpenSSL)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче