diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-01 14:06:42 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-01 14:06:42 +0000 |
commit | 4179e0b5c692f19a5b6559665b905b9457d38424 (patch) | |
tree | 5a73eff8cb8345d965edbabae1342f8f33486018 /test/net | |
parent | ae79409db498bb04ec5de54f851d0ac7aa8af78d (diff) | |
download | ruby-4179e0b5c692f19a5b6559665b905b9457d38424.tar.gz |
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')
-rw-r--r-- | test/net/ftp/test_ftp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb index f7cbf6352d..e775fa0010 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) |