[ruby/openssl] Added CoreAssertions
https://github.com/ruby/openssl/commit/520601e11d This commits swtich to use ruby/ruby's envutil.rb instead of vendored in openssl repo.
This commit is contained in:
parent
5afc830130
commit
967dec5d61
@ -32,7 +32,12 @@ end
|
|||||||
require "test/unit"
|
require "test/unit"
|
||||||
require "tempfile"
|
require "tempfile"
|
||||||
require "socket"
|
require "socket"
|
||||||
require "envutil"
|
|
||||||
|
begin
|
||||||
|
require_relative "../lib/core_assertions"
|
||||||
|
rescue LoadError
|
||||||
|
# for ruby/ruby repository
|
||||||
|
end
|
||||||
|
|
||||||
if defined?(OpenSSL)
|
if defined?(OpenSSL)
|
||||||
|
|
||||||
@ -148,6 +153,7 @@ end
|
|||||||
class OpenSSL::TestCase < Test::Unit::TestCase
|
class OpenSSL::TestCase < Test::Unit::TestCase
|
||||||
include OpenSSL::TestUtils
|
include OpenSSL::TestUtils
|
||||||
extend OpenSSL::TestUtils
|
extend OpenSSL::TestUtils
|
||||||
|
include Test::Unit::CoreAssertions
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
if ENV["OSSL_GC_STRESS"] == "1"
|
if ENV["OSSL_GC_STRESS"] == "1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user