[前][次][番号順一覧][スレッド一覧]

ruby-changes:42984

From: nobu <ko1@a...>
Date: Wed, 18 May 2016 17:06:27 +0900 (JST)
Subject: [ruby-changes:42984] nobu:r55058 (trunk): test_random.rb: skip old OpenSSL

nobu	2016-05-18 17:06:23 +0900 (Wed, 18 May 2016)

  New Revision: 55058

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55058

  Log:
    test_random.rb: skip old OpenSSL
    
    * test/openssl/test_random.rb (OpenSSL::TestRandom): ignore
      out-of-date OpenSSL before 1.0, as well as other tests.

  Modified files:
    trunk/test/openssl/test_random.rb
Index: test/openssl/test_random.rb
===================================================================
--- test/openssl/test_random.rb	(revision 55057)
+++ test/openssl/test_random.rb	(revision 55058)
@@ -11,4 +11,4 @@ class OpenSSL::TestRandom < OpenSSL::Tes https://github.com/ruby/ruby/blob/trunk/test/openssl/test_random.rb#L11
     assert_equal("", OpenSSL::Random.pseudo_bytes(0))
     assert_equal(12, OpenSSL::Random.pseudo_bytes(12).bytesize)
   end
-end if defined?(OpenSSL::Random)
+end if defined?(OpenSSL::TestCase)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]