diff options
Diffstat (limited to 'test/openssl/test_config.rb')
-rw-r--r-- | test/openssl/test_config.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/openssl/test_config.rb b/test/openssl/test_config.rb index 77f89b2..1ed455c 100644 --- a/test/openssl/test_config.rb +++ b/test/openssl/test_config.rb @@ -16,9 +16,10 @@ __EOD__ end def test_constants - assert(defined?(OpenSSL::Config::DEFAULT_CONFIG_FILE)) + config_file = OpenSSL::Config::DEFAULT_CONFIG_FILE + skip "DEFAULT_CONFIG_FILE may return a wrong path on your platforms. [Bug #6830]" unless File.readable?(config_file) assert_nothing_raised do - OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE) + OpenSSL::Config.load(config_file) end end |