From 967dec5d619f2a416f94a623abd91d7d0ee99751 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 4 Jan 2023 17:28:27 +0900 Subject: [PATCH] [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. --- test/openssl/utils.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb index 4ebcb9837b..e474fccaf8 100644 --- a/test/openssl/utils.rb +++ b/test/openssl/utils.rb @@ -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"