[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:
Hiroshi SHIBATA 2023-01-04 17:28:27 +09:00
parent 5afc830130
commit 967dec5d61
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -32,7 +32,12 @@ end
require "test/unit"
require "tempfile"
require "socket"
require "envutil"
begin
require_relative "../lib/core_assertions"
rescue LoadError
# for ruby/ruby repository
end
if defined?(OpenSSL)
@ -148,6 +153,7 @@ end
class OpenSSL::TestCase < Test::Unit::TestCase
include OpenSSL::TestUtils
extend OpenSSL::TestUtils
include Test::Unit::CoreAssertions
def setup
if ENV["OSSL_GC_STRESS"] == "1"