diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2020-02-22 04:58:08 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-03-16 19:16:10 +0900 |
commit | 7c13d2b3cc503790d044a6f5a34a61c50bc643c3 (patch) | |
tree | fedc723b43db0d7f8dfff74a842b328836c5a1db /test/openssl | |
parent | 0c66784602048fb4724e8d37038a0e6799f55d46 (diff) |
[ruby/openssl] test/openssl/test_config: skip test_get_value_ENV on LibreSSL
LibreSSL has removed the feature to map environment variables onto the
"ENV" section.
https://github.com/ruby/openssl/commit/b70817faec
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4275
Diffstat (limited to 'test/openssl')
-rw-r--r-- | test/openssl/test_config.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/openssl/test_config.rb b/test/openssl/test_config.rb index a725add264..01be28164a 100644 --- a/test/openssl/test_config.rb +++ b/test/openssl/test_config.rb @@ -215,6 +215,9 @@ __EOC__ end def test_get_value_ENV + # LibreSSL removed support for NCONF_get_string(conf, "ENV", str) + return if libressl? + key = ENV.keys.first assert_not_nil(key) # make sure we have at least one ENV var. assert_equal(ENV[key], @it.get_value('ENV', key)) |