From f207f7793da422b0a5fec771c5413fb9bd5b2bc0 Mon Sep 17 00:00:00 2001 From: kosaki Date: Thu, 9 Aug 2012 03:42:00 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ test/openssl/test_config.rb | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index f5fdcdb5d5..1eca24f59a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Aug 9 12:37:22 2012 KOSAKI Motohiro + + * test/openssl/test_config.rb (OpenSSL#test_constants): skip this + test if platform is Mac OS X or Windows. [Bug #6830] + Wed Aug 8 22:51:30 2012 Nobuyoshi Nakada * vm_eval.c (eval_under): singletons other than special constants 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)