summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/net/http/test_https.rb1
-rw-r--r--test/openssl/test_x509req.rb1
-rw-r--r--test/ruby/test_argf.rb1
-rw-r--r--test/ruby/test_rubyoptions.rb3
4 files changed, 6 insertions, 0 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index cf297f3755..86f6c00bbb 100644
--- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb
@@ -169,6 +169,7 @@ class TestNetHTTPS < Test::Unit::TestCase
omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 1.1.0h')
omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 3.2.')
omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 3.3.')
+ omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
http = Net::HTTP.new(HOST, config("port"))
http.use_ssl = true
diff --git a/test/openssl/test_x509req.rb b/test/openssl/test_x509req.rb
index ff17c41163..8525cf4b8f 100644
--- a/test/openssl/test_x509req.rb
+++ b/test/openssl/test_x509req.rb
@@ -35,6 +35,7 @@ class OpenSSL::TestX509Request < OpenSSL::TestCase
end
def test_version
+ omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
req = issue_csr(0, @dn, @rsa1024, OpenSSL::Digest.new('SHA256'))
assert_equal(0, req.version)
req = OpenSSL::X509::Request.new(req.to_der)
diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb
index 12f7d6485a..903cd62b02 100644
--- a/test/ruby/test_argf.rb
+++ b/test/ruby/test_argf.rb
@@ -267,6 +267,7 @@ class TestArgf < Test::Unit::TestCase
end
def test_inplace_nonascii
+ omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
ext = Encoding.default_external or
omit "no default external encoding"
t = nil
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index b256a70ba3..1f71c8a444 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -347,6 +347,7 @@ class TestRubyOptions < Test::Unit::TestCase
end
def test_chdir
+ omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
assert_in_out_err(%w(-C), "", [], /Can't chdir/)
assert_in_out_err(%w(-C test_ruby_test_rubyoptions_foobarbazqux), "", [], /Can't chdir/)
@@ -1043,6 +1044,7 @@ class TestRubyOptions < Test::Unit::TestCase
end
def test_command_line_progname_nonascii
+ omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
bug10555 = '[ruby-dev:48752] [Bug #10555]'
name = expected = nil
unless (0x80..0x10000).any? {|c|
@@ -1094,6 +1096,7 @@ class TestRubyOptions < Test::Unit::TestCase
# Since the codepage is shared all processes per conhost.exe, do
# not chcp, or parallel test may break.
def test_locale_codepage
+ omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
locale = Encoding.find("locale")
list = %W"\u{c7} \u{452} \u{3066 3059 3068}"
list.each do |s|