Compare commits

..

1 Commits

Author SHA1 Message Date
Patrick J Cherry
0e2fa83a72 New wheezy release 2015-04-01 22:46:50 +01:00
2 changed files with 5 additions and 16 deletions

12
debian/changelog vendored
View File

@@ -1,14 +1,8 @@
ruby-linux-netlink (0.17-1+stretch1) testing; urgency=medium
ruby-linux-netlink (0.17-1+wheezy1) stable; urgency=medium
* Repackaged for stretch.
* New upstream release
-- Patrick J Cherry <patrick@bytemark.co.uk> Tue, 10 Nov 2015 13:39:37 +0000
ruby-linux-netlink (0.16-1+jessie1) testing; urgency=medium
* Repackaged for jessie
-- Patrick J Cherry <patrick@bytemark.co.uk> Wed, 01 Apr 2015 17:39:44 +0100
-- Patrick J Cherry <patrick@bytemark.co.uk> Wed, 01 Apr 2015 22:44:51 +0100
ruby-linux-netlink (0.16-1+wheezy1) stable; urgency=medium

View File

@@ -42,12 +42,8 @@ class TestAddr < Test::Unit::TestCase
test "massively parallel IP address addition" do
@ifname = create_test_interface
return if @ifname.nil?
link = @ip.link.list.find{|x| x.ifname == @ifname}
return if link.nil?
ips = (10..13).map {|y| (1..254).map {|z| "10.100.#{y}.#{z}" } }.flatten.compact
ips = (10..20).map {|y| (1..254).map {|z| "10.100.#{y}.#{z}" } }.flatten.compact
threads = ips.map {|ip|
Thread.new {
@@ -59,8 +55,7 @@ class TestAddr < Test::Unit::TestCase
}
}
threads.map{|t| t.join }
threads.map(&:join)
created = @ip.addr.list(:index => @ifname, :family => Socket::AF_INET).
map {|ifaddr| ifaddr.address.to_s }