Skip to content

Commit

Permalink
test/openssl/test_config: skip test_get_value_ENV on LibreSSL
Browse files Browse the repository at this point in the history
LibreSSL has removed the feature to map environment variables onto the
"ENV" section.
  • Loading branch information
rhenium committed May 13, 2020
1 parent 259e6fd commit b70817f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/openssl/test_config.rb
Expand Up @@ -215,6 +215,9 @@ def test_get_value
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))
Expand Down

0 comments on commit b70817f

Please sign in to comment.