From 4179e0b5c692f19a5b6559665b905b9457d38424 Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 1 Apr 2012 14:06:42 +0000 Subject: Client waits only the first line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/ftp/test_ftp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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) -- cgit v1.2.3