summaryrefslogtreecommitdiffstats
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
commita3e023dfdb1fa68f380b78d10bf53d72bed4818c (patch)
tree37280019d0783366b71c2d0ce0486523378f38cc
parent239f8756c183af1ea42dc2ad2392010463e8ba46 (diff)
downloadruby-a3e023dfdb1fa68f380b78d10bf53d72bed4818c.tar.gz
ruby-a3e023dfdb1fa68f380b78d10bf53d72bed4818c.tar.xz
ruby-a3e023dfdb1fa68f380b78d10bf53d72bed4818c.zip
* test/openssl/test_ssl.rb: add workaround for Cygwin.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 637750af7..60e9f46b7 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