summaryrefslogtreecommitdiff
path: root/test/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl')
-rw-r--r--test/openssl/test_pair.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/openssl/test_pair.rb b/test/openssl/test_pair.rb
index ea8fc773cb..271459f55e 100644
--- a/test/openssl/test_pair.rb
+++ b/test/openssl/test_pair.rb
@@ -156,6 +156,7 @@ class OpenSSL::TestPair < Test::Unit::TestCase
}
assert_match(/SSL_ERROR_WANT_READ/, err.message)
s1.write "abc\ndef\n"
+ IO.select([s2])
assert_equal("ab", s2.read_nonblock(2))
assert_equal("c\n", s2.gets)
ret = nil