tests: add inheritance tests
we only need to test ifquery, as this is just a merge operation.
This commit is contained in:
parent
8615cf62ef
commit
49dd8942f2
2 changed files with 29 additions and 1 deletions
10
tests/fixtures/inheritance.interfaces
vendored
Normal file
10
tests/fixtures/inheritance.interfaces
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
iface base0
|
||||
address 203.0.113.2/24
|
||||
address 2001:db8:1000:2::2/64
|
||||
|
||||
iface inherit0 inherits base0
|
||||
address 203.0.113.3/24
|
||||
|
||||
iface inherit1
|
||||
inherit base0
|
||||
address 203.0.113.4/24
|
Loading…
Add table
Add a link
Reference in a new issue