[前][次][番号順一覧][スレッド一覧]

ruby-changes:24615

From: kosaki <ko1@a...>
Date: Thu, 9 Aug 2012 12:43:59 +0900 (JST)
Subject: [ruby-changes:24615] kosaki:r36666 (trunk): * test/openssl/test_config.rb (OpenSSL#test_constants): skip this

kosaki	2012-08-09 12:42:00 +0900 (Thu, 09 Aug 2012)

  New Revision: 36666

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36666

  Log:
    * test/openssl/test_config.rb (OpenSSL#test_constants): skip this
      test if platform is Mac OS X or Windows. [Bug #6830]

  Modified files:
    trunk/ChangeLog
    trunk/test/openssl/test_config.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36665)
+++ ChangeLog	(revision 36666)
@@ -1,3 +1,8 @@
+Thu Aug  9 12:37:22 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* 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@r...>
 
 	* vm_eval.c (eval_under): singletons other than special constants
Index: test/openssl/test_config.rb
===================================================================
--- test/openssl/test_config.rb	(revision 36665)
+++ test/openssl/test_config.rb	(revision 36666)
@@ -21,6 +21,8 @@
   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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]