summaryrefslogtreecommitdiff
path: root/test/net/ftp
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-01 14:06:42 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-01 14:06:42 +0000
commit4179e0b5c692f19a5b6559665b905b9457d38424 (patch)
tree5a73eff8cb8345d965edbabae1342f8f33486018 /test/net/ftp
parentae79409db498bb04ec5de54f851d0ac7aa8af78d (diff)
Client waits only the first line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/ftp')
-rw-r--r--test/net/ftp/test_ftp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb
index f7cbf63..e775fa0 100644
--- a/test/net/ftp/test_ftp.rb
+++ b/test/net/ftp/test_ftp.rb
@@ -263,7 +263,7 @@ class FTPTest < Test::Unit::TestCase
sock.print("150 Here comes the directory listing.\r\n")
conn = TCPSocket.new(host, port)
list_lines.each_with_index do |l, i|
- if i == 1
+ if i == 0
sleep(0.3)
else
sleep(0.1)