From 6da55d9299f02951633fa34de65c115f71f7d32f Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Wed, 2 Dec 2020 11:17:41 -0700 Subject: [PATCH] tests: add fixture illustrating how smart stanza merging should work --- tests/fixtures/stanza-merging.interfaces | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/fixtures/stanza-merging.interfaces diff --git a/tests/fixtures/stanza-merging.interfaces b/tests/fixtures/stanza-merging.interfaces new file mode 100644 index 0000000..6327cbc --- /dev/null +++ b/tests/fixtures/stanza-merging.interfaces @@ -0,0 +1,14 @@ +# cidr and without-cidr should be equivalent +iface cidr + address 203.0.113.1/32 + +iface cidr + address 203.0.113.2/24 + +iface without-cidr + address 203.0.113.1 + netmask 32 + +iface without-cidr + address 203.0.113.2 + netmask 24