mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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.
b70817faec
This commit is contained in:
parent
0c66784602
commit
7c13d2b3cc
Notes:
git
2021-03-16 20:38:56 +09:00
1 changed files with 3 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue