about summary refs log tree commit homepage
path: root/test/test_linux.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-15 14:57:18 -0800
committerEric Wong <normalperson@yhbt.net>2011-02-15 14:57:18 -0800
commit05458d4067c1642fe89f164ce3e6466af1458043 (patch)
tree6aca6db96c88656e416fbc6efd5607781be69fb7 /test/test_linux.rb
parentf9233c20d453475df22ce7e4d0d098837f0d859a (diff)
downloadraindrops-05458d4067c1642fe89f164ce3e6466af1458043.tar.gz
Diffstat (limited to 'test/test_linux.rb')
-rw-r--r--test/test_linux.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_linux.rb b/test/test_linux.rb
index 5dc5f5b..b84846d 100644
--- a/test/test_linux.rb
+++ b/test/test_linux.rb
@@ -138,7 +138,7 @@ class TestLinux < Test::Unit::TestCase
       fork do
         rda.close
         wrb.close
-        socks = (1..nr_sock).times.map { s.accept }
+        socks = (1..nr_sock).map { s.accept }
         wra.syswrite('.')
         wra.close
         rdb.sysread(1) # wait for parent to nuke us
@@ -149,7 +149,7 @@ class TestLinux < Test::Unit::TestCase
       fork do
         rda.close
         wrb.close
-        socks = (1..nr_sock).times.map { TCPSocket.new(TEST_ADDR, port) }
+        socks = (1..nr_sock).map { TCPSocket.new(TEST_ADDR, port) }
         wra.syswrite('.')
         wra.close
         rdb.sysread(1) # wait for parent to nuke us