Skip more tests

i8-stream-2.6 changed/i8-stream-2.6/ruby-2.6.10-109.module+el8.6.0+15475+c55337b4.inferit
Arkady L. Shane 5 months ago
parent 34607f2971
commit b3f0aa4ea3
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1,20 +1,61 @@
From 005f3b31f9520e22605a359e8a5b36d9855621a5 Mon Sep 17 00:00:00 2001 From e84a009aa3decf61229f2ea04510bdec242021b5 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 ++++++ spec/ruby/core/time/local_spec.rb | 1 -
test/net/http/test_https.rb | 6 ++++++ spec/ruby/core/time/mktime_spec.rb | 1 -
test/net/imap/test_imap.rb | 2 ++ spec/ruby/core/time/new_spec.rb | 1 -
test/openssl/test_ssl.rb | 1 + test/net/ftp/test_ftp.rb | 6 ++++++
4 files changed, 15 insertions(+) test/net/http/test_https.rb | 6 ++++++
test/net/imap/test_imap.rb | 2 ++
test/openssl/test_ssl.rb | 1 +
test/ruby/test_time_tz.rb | 3 +--
test/rubygems/test_gem_source_git.rb | 1 +
9 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/spec/ruby/core/time/local_spec.rb b/spec/ruby/core/time/local_spec.rb
index 581ed17..838e197 100644
--- a/spec/ruby/core/time/local_spec.rb
+++ b/spec/ruby/core/time/local_spec.rb
@@ -3,7 +3,6 @@ require_relative 'shared/local'
require_relative 'shared/time_params'
describe "Time.local" do
- it_behaves_like :time_local, :local
it_behaves_like :time_local_10_arg, :local
it_behaves_like :time_params, :local
it_behaves_like :time_params_10_arg, :local
diff --git a/spec/ruby/core/time/mktime_spec.rb b/spec/ruby/core/time/mktime_spec.rb
index 78a6a6e..e582ba0 100644
--- a/spec/ruby/core/time/mktime_spec.rb
+++ b/spec/ruby/core/time/mktime_spec.rb
@@ -3,7 +3,6 @@ require_relative 'shared/local'
require_relative 'shared/time_params'
describe "Time.mktime" do
- it_behaves_like :time_local, :mktime
it_behaves_like :time_local_10_arg, :mktime
it_behaves_like :time_params, :mktime
it_behaves_like :time_params_10_arg, :mktime
diff --git a/spec/ruby/core/time/new_spec.rb b/spec/ruby/core/time/new_spec.rb
index 8d32c4e..0627998 100644
--- a/spec/ruby/core/time/new_spec.rb
+++ b/spec/ruby/core/time/new_spec.rb
@@ -8,7 +8,6 @@ describe "Time.new" do
end
describe "Time.new" do
- it_behaves_like :time_local, :new
it_behaves_like :time_params, :new
end
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 b3fe777..e44bf9c 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 @@ -1724,6 +1724,7 @@ EOF
end end
def test_tls_with_ca_file def test_tls_with_ca_file
@ -22,7 +63,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 @@ -1760,6 +1761,7 @@ EOF
end end
def test_active_private_data_connection def test_active_private_data_connection
@ -30,7 +71,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 @@ -1844,6 +1846,7 @@ EOF
end end
def test_passive_private_data_connection def test_passive_private_data_connection
@ -38,7 +79,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 @@ -1927,6 +1930,7 @@ EOF
end end
def test_active_clear_data_connection def test_active_clear_data_connection
@ -46,7 +87,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 @@ -1996,6 +2000,7 @@ EOF
end end
def test_passive_clear_data_connection def test_passive_clear_data_connection
@ -54,7 +95,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 @@ -2091,6 +2096,7 @@ EOF
end end
def test_abort_tls def test_abort_tls
@ -63,7 +104,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 784f002..94d6fa1 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
@ -115,7 +156,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 81928cb..8ca3b45 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,7 +176,7 @@ 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 dad9a43..1372b35 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 @@ -291,6 +291,7 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase
@ -146,6 +187,40 @@ index 060c1f1..71e573c 100644
server_proc = -> (ctx, ssl) { server_proc = -> (ctx, ssl) {
while line = ssl.gets while line = ssl.gets
if line =~ /^STARTTLS$/ if line =~ /^STARTTLS$/
diff --git a/test/ruby/test_time_tz.rb b/test/ruby/test_time_tz.rb
index 9bba30e..399b84f 100644
--- a/test/ruby/test_time_tz.rb
+++ b/test/ruby/test_time_tz.rb
@@ -139,8 +139,8 @@ class TestTimeTZ < Test::Unit::TestCase
end
def test_asia_singapore
+ skip "Time Zone"
with_tz(tz="Asia/Singapore") {
- assert_time_constructor(tz, "1981-12-31 23:59:59 +0730", :local, [1981,12,31,23,59,59])
assert_time_constructor(tz, "1982-01-01 00:30:00 +0800", :local, [1982,1,1,0,0,0])
assert_time_constructor(tz, "1982-01-01 00:59:59 +0800", :local, [1982,1,1,0,29,59])
assert_time_constructor(tz, "1982-01-01 00:30:00 +0800", :local, [1982,1,1,0,30,0])
@@ -392,7 +392,6 @@ America/Managua Fri Jan 1 06:00:00 1993 UTC = Fri Jan 1 01:00:00 1993 EST isd
America/Managua Wed Jan 1 04:59:59 1997 UTC = Tue Dec 31 23:59:59 1996 EST isdst=0 gmtoff=-18000
America/Managua Wed Jan 1 05:00:00 1997 UTC = Tue Dec 31 23:00:00 1996 CST isdst=0 gmtoff=-21600
Asia/Singapore Sun Aug 8 16:30:00 1965 UTC = Mon Aug 9 00:00:00 1965 SGT isdst=0 gmtoff=27000
-Asia/Singapore Thu Dec 31 16:29:59 1981 UTC = Thu Dec 31 23:59:59 1981 SGT isdst=0 gmtoff=27000
Asia/Singapore Thu Dec 31 16:30:00 1981 UTC = Fri Jan 1 00:30:00 1982 SGT isdst=0 gmtoff=28800
End
gen_zdump_test CORRECT_TOKYO_DST_1951 ? <<'End' + (CORRECT_TOKYO_DST_1951 < "2018f" ? <<'2018e' : <<'2018f') : <<'End'
diff --git a/test/rubygems/test_gem_source_git.rb b/test/rubygems/test_gem_source_git.rb
index 586e71b..b3ae7ea 100644
--- a/test/rubygems/test_gem_source_git.rb
+++ b/test/rubygems/test_gem_source_git.rb
@@ -64,6 +64,7 @@ class TestGemSourceGit < Gem::TestCase
end
def test_checkout_submodules
+ skip "Unknown"
source = Gem::Source::Git.new @name, @repository, 'master', true
git_gem 'b'
-- --
2.44.0 2.44.0

Loading…
Cancel
Save