Compare commits
8 Commits
0.17-1+jes
...
debian/str
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7fa4149ade | ||
![]() |
9e6ce9d913 | ||
![]() |
06d78d4168 | ||
![]() |
a97bbe0d7c | ||
![]() |
2ceb0fbf6d | ||
![]() |
d771a2be9c | ||
![]() |
51b8bbcd8a | ||
![]() |
118903d9d5 |
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,8 +1,8 @@
|
||||
ruby-linux-netlink (0.17-1+jessie1) testing; urgency=medium
|
||||
ruby-linux-netlink (0.17-1+stretch1) testing; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
* Repackaged for stretch.
|
||||
|
||||
-- Patrick J Cherry <patrick@bytemark.co.uk> Wed, 01 Apr 2015 22:51:34 +0100
|
||||
-- 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
|
||||
|
||||
|
@@ -42,8 +42,12 @@ 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..20).map {|y| (1..254).map {|z| "10.100.#{y}.#{z}" } }.flatten.compact
|
||||
ips = (10..13).map {|y| (1..254).map {|z| "10.100.#{y}.#{z}" } }.flatten.compact
|
||||
|
||||
threads = ips.map {|ip|
|
||||
Thread.new {
|
||||
@@ -55,7 +59,8 @@ class TestAddr < Test::Unit::TestCase
|
||||
}
|
||||
}
|
||||
|
||||
threads.map(&:join)
|
||||
threads.map{|t| t.join }
|
||||
|
||||
created = @ip.addr.list(:index => @ifname, :family => Socket::AF_INET).
|
||||
map {|ifaddr| ifaddr.address.to_s }
|
||||
|
||||
|
Reference in New Issue
Block a user