aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2014-10-29 15:32:12 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2014-10-29 15:32:12 +0900
commitd0f098b797eee0abe740fbab310cdca9abe5252e (patch)
tree3ac38aa3c8ca725352dbbbc93d77673eae75f631
parentc9617a6e08790d831afe0be982ead64601848ee1 (diff)
downloadruby-openssl-d0f098b797eee0abe740fbab310cdca9abe5252e.tar.gz
use pend instead of skip
-rw-r--r--test/test_config.rb2
-rw-r--r--test/test_ssl.rb2
-rw-r--r--test/test_x509req.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/test_config.rb b/test/test_config.rb
index 4ad90c43..939cae0b 100644
--- a/test/test_config.rb
+++ b/test/test_config.rb
@@ -23,7 +23,7 @@ __EOD__
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)
+ pend "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(config_file)
end
diff --git a/test/test_ssl.rb b/test/test_ssl.rb
index ddc3be5b..778dd8bc 100644
--- a/test/test_ssl.rb
+++ b/test/test_ssl.rb
@@ -20,7 +20,7 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase
end if defined?(OpenSSL::SSL::OP_NO_COMPRESSION)
def test_not_started_session
- skip "non socket argument of SSLSocket.new is not supported on this platform" if /mswin|mingw/ =~ RUBY_PLATFORM
+ pend "non socket argument of SSLSocket.new is not supported on this platform" if /mswin|mingw/ =~ RUBY_PLATFORM
open(__FILE__) do |f|
assert_nil OpenSSL::SSL::SSLSocket.new(f).cert
end
diff --git a/test/test_x509req.rb b/test/test_x509req.rb
index d0b6a572..458f3079 100644
--- a/test/test_x509req.rb
+++ b/test/test_x509req.rb
@@ -138,7 +138,7 @@ class OpenSSL::TestX509Request < Test::Unit::TestCase
req.version = 1
assert_equal(false, req.verify(@rsa1024))
rescue OpenSSL::X509::RequestError
- skip
+ pend
end
def test_sign_and_verify_dsa_md5