ruby-changes:17202
From: nahi <ko1@a...>
Date: Thu, 9 Sep 2010 17:27:55 +0900 (JST)
Subject: [ruby-changes:17202] Ruby:r29202 (trunk): * test/net/http/test_https.rb (test_identity_verify_failure): follows
nahi 2010-09-09 17:17:51 +0900 (Thu, 09 Sep 2010) New Revision: 29202 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29202 Log: * test/net/http/test_https.rb (test_identity_verify_failure): follows the SSL hostname check error message of openssl. Modified files: trunk/ChangeLog trunk/test/net/http/test_https.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 29201) +++ ChangeLog (revision 29202) @@ -1,3 +1,8 @@ +Thu Sep 9 17:15:15 2010 NAKAMURA, Hiroshi <nahi@r...> + + * 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@r...> * test/ruby/test_env.rb (test_aset): OpenBSD acts like NetBSD in Index: test/net/http/test_https.rb =================================================================== --- test/net/http/test_https.rb (revision 29201) +++ test/net/http/test_https.rb (revision 29202) @@ -92,6 +92,6 @@ ex = assert_raise(OpenSSL::SSL::SSLError){ http.request_get("/") {|res| } } - assert_match(/hostname was not match/, ex.message) + assert_match(/hostname does not match/, ex.message) end end if defined?(OpenSSL) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/