summaryrefslogtreecommitdiff
path: root/test/openssl
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-18 14:40:04 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-18 14:40:04 +0000
commitf4991ab79520659d2a4ca585c41fa22141e3f6d8 (patch)
tree37280019d0783366b71c2d0ce0486523378f38cc /test/openssl
parent94e117da620b122dd28f6c1e52ac452459a50cc5 (diff)
downloadruby-f4991ab79520659d2a4ca585c41fa22141e3f6d8.tar.gz
* test/openssl/test_ssl.rb: add workaround for Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl')
-rw-r--r--test/openssl/test_ssl.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb
index 637750af70..60e9f46b79 100644
--- a/test/openssl/test_ssl.rb
+++ b/test/openssl/test_ssl.rb
@@ -78,6 +78,10 @@ class OpenSSL::TestSSL < Test::Unit::TestCase
def starttls(ssl)
ssl.puts("STARTTLS")
+
+ sleep 1 # When this line is eliminated, process on Cygwin blocks
+ # forever at ssl.connect. But I don't know why it does.
+
ssl.connect
end