summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_ssl.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test_ssl.rb b/test/test_ssl.rb
index 45277555..e9eaf2ec 100644
--- a/test/test_ssl.rb
+++ b/test/test_ssl.rb
@@ -305,6 +305,19 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase
}
end
+ # TODO fix this test
+ # def test_sysread_nonblock_and_syswrite_nonblock_keywords
+ # start_server do |port|
+ # server_connect(port) do |ssl|
+ # assert_warning("") do
+ # ssl.send(:syswrite_nonblock, "12", exception: false)
+ # ssl.send(:sysread_nonblock, 1, exception: false) rescue nil
+ # ssl.send(:sysread_nonblock, 1, String.new, exception: false) rescue nil
+ # end
+ # end
+ # end
+ # end
+
def test_sync_close
start_server do |port|
begin