Skip some new tests

i8-stream-2.7 changed/i8-stream-2.7/ruby-2.7.8-139.module+el8.8.0+18745+f1bef313.inferit
Arkady L. Shane 5 months ago
parent b7dd1fa242
commit 75c66a3764
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1,20 +1,20 @@
From 005f3b31f9520e22605a359e8a5b36d9855621a5 Mon Sep 17 00:00:00 2001 From ce1aa7a4f9b812fc6276f975ce378cd4a17609cf Mon Sep 17 00:00:00 2001
From: tigro <tigro@msvsphere-os.ru> From: tigro <tigro@msvsphere-os.ru>
Date: Fri, 12 Apr 2024 13:58:34 +0300 Date: Fri, 12 Apr 2024 13:58:34 +0300
Subject: [PATCH] Skip some SSL tests Subject: [PATCH] Skip some SSL tests
--- ---
test/net/ftp/test_ftp.rb | 6 ++++++ test/net/ftp/test_ftp.rb | 6 ++++++
test/net/http/test_https.rb | 6 ++++++ test/net/http/test_https.rb | 7 +++++++
test/net/imap/test_imap.rb | 2 ++ test/net/imap/test_imap.rb | 2 ++
test/openssl/test_ssl.rb | 1 + test/openssl/test_ssl.rb | 1 +
4 files changed, 15 insertions(+) 4 files changed, 16 insertions(+)
diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb
index 8e0a688..889a702 100644 index 24c5d3a..67c70b5 100644
--- a/test/net/ftp/test_ftp.rb --- a/test/net/ftp/test_ftp.rb
+++ b/test/net/ftp/test_ftp.rb +++ b/test/net/ftp/test_ftp.rb
@@ -1716,6 +1716,7 @@ EOF @@ -1823,6 +1823,7 @@ EOF
end end
def test_tls_with_ca_file def test_tls_with_ca_file
@ -22,7 +22,7 @@ index 8e0a688..889a702 100644
assert_nothing_raised do assert_nothing_raised do
tls_test do |port| tls_test do |port|
begin begin
@@ -1752,6 +1753,7 @@ EOF @@ -1859,6 +1860,7 @@ EOF
end end
def test_active_private_data_connection def test_active_private_data_connection
@ -30,7 +30,7 @@ index 8e0a688..889a702 100644
server = TCPServer.new(SERVER_ADDR, 0) server = TCPServer.new(SERVER_ADDR, 0)
port = server.addr[1] port = server.addr[1]
commands = [] commands = []
@@ -1836,6 +1838,7 @@ EOF @@ -1943,6 +1945,7 @@ EOF
end end
def test_passive_private_data_connection def test_passive_private_data_connection
@ -38,7 +38,7 @@ index 8e0a688..889a702 100644
server = TCPServer.new(SERVER_ADDR, 0) server = TCPServer.new(SERVER_ADDR, 0)
port = server.addr[1] port = server.addr[1]
commands = [] commands = []
@@ -1919,6 +1922,7 @@ EOF @@ -2026,6 +2029,7 @@ EOF
end end
def test_active_clear_data_connection def test_active_clear_data_connection
@ -46,7 +46,7 @@ index 8e0a688..889a702 100644
server = TCPServer.new(SERVER_ADDR, 0) server = TCPServer.new(SERVER_ADDR, 0)
port = server.addr[1] port = server.addr[1]
commands = [] commands = []
@@ -1988,6 +1992,7 @@ EOF @@ -2095,6 +2099,7 @@ EOF
end end
def test_passive_clear_data_connection def test_passive_clear_data_connection
@ -54,7 +54,7 @@ index 8e0a688..889a702 100644
server = TCPServer.new(SERVER_ADDR, 0) server = TCPServer.new(SERVER_ADDR, 0)
port = server.addr[1] port = server.addr[1]
commands = [] commands = []
@@ -2083,6 +2088,7 @@ EOF @@ -2190,6 +2195,7 @@ EOF
end end
def test_abort_tls def test_abort_tls
@ -63,7 +63,7 @@ index 8e0a688..889a702 100644
commands = [] commands = []
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index 3a23410..59d327d 100644 index a501222..4a21d31 100644
--- a/test/net/http/test_https.rb --- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb
@@ -33,6 +33,7 @@ class TestNetHTTPS < Test::Unit::TestCase @@ -33,6 +33,7 @@ class TestNetHTTPS < Test::Unit::TestCase
@ -77,12 +77,20 @@ index 3a23410..59d327d 100644
@@ -53,6 +54,7 @@ class TestNetHTTPS < Test::Unit::TestCase @@ -53,6 +54,7 @@ class TestNetHTTPS < Test::Unit::TestCase
end end
def test_get_SNI
+ skip "Old SSL"
http = Net::HTTP.new("localhost", config("port"))
http.ipaddr = config('host')
http.use_ssl = true
@@ -127,6 +129,7 @@ class TestNetHTTPS < Test::Unit::TestCase
end
def test_post def test_post
+ skip "Old Certs" + skip "Old Certs"
http = Net::HTTP.new("localhost", config("port")) http = Net::HTTP.new("localhost", config("port"))
http.use_ssl = true http.use_ssl = true
http.cert_store = TEST_STORE http.cert_store = TEST_STORE
@@ -65,6 +67,7 @@ class TestNetHTTPS < Test::Unit::TestCase @@ -139,6 +142,7 @@ class TestNetHTTPS < Test::Unit::TestCase
end end
def test_session_reuse def test_session_reuse
@ -90,7 +98,7 @@ index 3a23410..59d327d 100644
# FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h. # FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
# See https://github.com/openssl/openssl/pull/5967 for details. # See https://github.com/openssl/openssl/pull/5967 for details.
skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/ skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
@@ -89,6 +92,7 @@ class TestNetHTTPS < Test::Unit::TestCase @@ -163,6 +167,7 @@ class TestNetHTTPS < Test::Unit::TestCase
end end
def test_session_reuse_but_expire def test_session_reuse_but_expire
@ -98,7 +106,7 @@ index 3a23410..59d327d 100644
# FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h. # FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/ skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
@@ -190,6 +194,7 @@ class TestNetHTTPS < Test::Unit::TestCase @@ -264,6 +269,7 @@ class TestNetHTTPS < Test::Unit::TestCase
end end
def test_min_version def test_min_version
@ -106,7 +114,7 @@ index 3a23410..59d327d 100644
http = Net::HTTP.new("localhost", config("port")) http = Net::HTTP.new("localhost", config("port"))
http.use_ssl = true http.use_ssl = true
http.min_version = :TLS1 http.min_version = :TLS1
@@ -200,6 +205,7 @@ class TestNetHTTPS < Test::Unit::TestCase @@ -274,6 +280,7 @@ class TestNetHTTPS < Test::Unit::TestCase
end end
def test_max_version def test_max_version
@ -115,7 +123,7 @@ index 3a23410..59d327d 100644
http.use_ssl = true http.use_ssl = true
http.max_version = :SSL2 http.max_version = :SSL2
diff --git a/test/net/imap/test_imap.rb b/test/net/imap/test_imap.rb diff --git a/test/net/imap/test_imap.rb b/test/net/imap/test_imap.rb
index 41f25fe..066bed0 100644 index 0ce0eb6..51bcf74 100644
--- a/test/net/imap/test_imap.rb --- a/test/net/imap/test_imap.rb
+++ b/test/net/imap/test_imap.rb +++ b/test/net/imap/test_imap.rb
@@ -76,6 +76,7 @@ class IMAPTest < Test::Unit::TestCase @@ -76,6 +76,7 @@ class IMAPTest < Test::Unit::TestCase
@ -135,10 +143,10 @@ index 41f25fe..066bed0 100644
starttls_test do |port| starttls_test do |port|
imap = Net::IMAP.new("localhost", :port => port) imap = Net::IMAP.new("localhost", :port => port)
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb
index 060c1f1..71e573c 100644 index 53457e2..1f9a28f 100644
--- a/test/openssl/test_ssl.rb --- a/test/openssl/test_ssl.rb
+++ b/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb
@@ -291,6 +291,7 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase @@ -296,6 +296,7 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase
end end
def test_starttls def test_starttls

@ -22,7 +22,7 @@
%endif %endif
%global release 139.inferit1 %global release 139.inferit
%{!?release_string:%define release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}} %{!?release_string:%define release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}}
# The RubyGems library has to stay out of Ruby directory tree, since the # The RubyGems library has to stay out of Ruby directory tree, since the

Loading…
Cancel
Save