diff --git a/t/tasks/deploy/p2p.t b/t/tasks/deploy/p2p.t index 19c4aeecc..1faf2bb09 100755 --- a/t/tasks/deploy/p2p.t +++ b/t/tasks/deploy/p2p.t @@ -64,7 +64,19 @@ my @tests = ( ] }, { - name => '192.168.2.254/24', + name => '192.168.1.1/24', + address => { ip => '192.168.1.1', mask => '255.255.255.0' }, + result => [ + '192.168.1.2', + '192.168.1.3', + '192.168.1.4', + '192.168.1.5', + '192.168.1.6', + '192.168.1.7' + ] + }, + { + name => '192.168.2.253/24', address => { ip => '192.168.2.253', mask => '255.255.255.0' }, result => [ '192.168.2.248', @@ -75,6 +87,18 @@ my @tests = ( '192.168.2.254' ] }, + { + name => '192.168.2.254/24', + address => { ip => '192.168.2.254', mask => '255.255.255.0' }, + result => [ + '192.168.2.248', + '192.168.2.249', + '192.168.2.250', + '192.168.2.251', + '192.168.2.252', + '192.168.2.253' + ] + }, { name => '192.168.3.1/22', address => { ip => '192.168.3.1', mask => '255.255.252.0' },