Permalink
Browse files

* 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
  • Loading branch information...
1 parent 507dc62 commit f207f7793da422b0a5fec771c5413fb9bd5b2bc0 @kosaki kosaki committed Aug 9, 2012
Showing with 7 additions and 0 deletions.
  1. +5 −0 ChangeLog
  2. +2 −0 test/openssl/test_config.rb
View
@@ -1,3 +1,8 @@
+Thu Aug 9 12:37:22 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * 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 <nobu@ruby-lang.org>
* vm_eval.c (eval_under): singletons other than special constants
@@ -21,6 +21,8 @@ def teardown
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)

0 comments on commit f207f77

Please sign in to comment.