tests: add tests for fallback netmask handling
This commit is contained in:
parent
d582e405b6
commit
492e9e7038
4 changed files with 50 additions and 0 deletions
5
tests/fixtures/static-eth0-v4-netmask.interfaces
vendored
Normal file
5
tests/fixtures/static-eth0-v4-netmask.interfaces
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
auto eth0
|
||||
iface eth0
|
||||
address 203.0.113.2
|
||||
netmask 255.255.255.248
|
||||
gateway 203.0.113.1
|
5
tests/fixtures/static-eth0-v6-netmask.interfaces
vendored
Normal file
5
tests/fixtures/static-eth0-v6-netmask.interfaces
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
auto eth0
|
||||
iface eth0
|
||||
address 2001:db8:1000:2::2
|
||||
netmask 112
|
||||
gateway 2001:db8:1000:2::1
|
Loading…
Add table
Add a link
Reference in a new issue