1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/openssl/test_config.rb (OpenSSL#test_constants): skip this

test if platform is Mac OS X or Windows. [Bug #6830]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2012-08-09 03:42:00 +00:00
parent 507dc62a34
commit f207f7793d
2 changed files with 7 additions and 0 deletions

View file

@ -21,6 +21,8 @@ __EOD__
end
def test_constants
skip "DEFAULT_CONFIG_FILE may return a wrong path on your platforms. [Bug #6830]" if /mswin|mingw|darwin/ =~ RUBY_PLATFORM
assert(defined?(OpenSSL::Config::DEFAULT_CONFIG_FILE))
assert_nothing_raised do
OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)