diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-01-04 17:28:27 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-01-27 11:30:13 +0900 |
commit | 967dec5d619f2a416f94a623abd91d7d0ee99751 (patch) | |
tree | 947f4f2c86e061af791ab8f4d805929b73399675 /test/openssl | |
parent | 5afc8301309ec660c94438d967eea1bf1235a67c (diff) |
[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.
Diffstat (limited to 'test/openssl')
-rw-r--r-- | test/openssl/utils.rb | 8 |
1 files changed, 7 insertions, 1 deletions
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" |