tests: add inheritance tests

we only need to test ifquery, as this is just a merge
operation.
This commit is contained in:
Ariadne Conill 2020-08-04 12:06:39 -06:00
parent 8615cf62ef
commit 49dd8942f2
2 changed files with 29 additions and 1 deletions

10
tests/fixtures/inheritance.interfaces vendored Normal file
View 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