diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-10 08:54:50 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-10 08:54:50 +0000 |
commit | 7f438d8402f53c2f78c5c6512c3d2f68d9fb20ac (patch) | |
tree | 051e39ad59b46aa58fb77aa9062460e5fd5fc7d1 /test/openssl/test_ssl.rb | |
parent | cb81b56de2f1edc56ac84366a73b96a3266305ee (diff) | |
download | ruby-7f438d8402f53c2f78c5c6512c3d2f68d9fb20ac.tar.gz |
* ext/openssl/lib/openssl/x509-internal.rb: removed unused local
variable.
* test/openssl/*: less warnings while test running with -w.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_ssl.rb')
-rw-r--r-- | test/openssl/test_ssl.rb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index 558bf1bce4..73c35c0749 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -286,12 +286,13 @@ class OpenSSL::TestSSL < Test::Unit::TestCase ssl.sync_close = true str = "x" * 1000 + "\n" - ITERATIONS.times{ - ssl.puts(str) - assert_equal(str, ssl.gets) - } - - starttls(ssl) + OpenSSL::TestUtils.silent do + ITERATIONS.times{ + ssl.puts(str) + assert_equal(str, ssl.gets) + } + starttls(ssl) + end ITERATIONS.times{ ssl.puts(str) |