summaryrefslogtreecommitdiff
path: root/test/openssl
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-09 03:42:00 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-09 03:42:00 +0000
commitf207f7793da422b0a5fec771c5413fb9bd5b2bc0 (patch)
tree120ba207b955c5d1902ce6a3bcac99790cfa4e04 /test/openssl
parent507dc62a34441cb9b016ce48e8181e9305559c27 (diff)
* 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
Diffstat (limited to 'test/openssl')
-rw-r--r--test/openssl/test_config.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/openssl/test_config.rb b/test/openssl/test_config.rb
index 2e29883c00..604ccaa639 100644
--- a/test/openssl/test_config.rb
+++ b/test/openssl/test_config.rb
@@ -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)