test: modify/add tests for UseRoutes= and UseGateway= configuration
authorDan Streetman <ddstreet@canonical.com>
Wed, 15 Apr 2020 20:26:20 +0000 (16:26 -0400)
committerMichael Biebl <biebl@debian.org>
Sun, 5 Jul 2020 09:44:39 +0000 (10:44 +0100)
commit61446663b2778ac1f3f523ed2b3c5df3515fbb1f
tree5690ff6057b91771034133a773eaeae08c1bcb1c
parentc22bdf10f65c2804ae6cbeba50674063992ff836
test: modify/add tests for UseRoutes= and UseGateway= configuration

The last commit changed the UseGateway= default to the value of UseRoutes=
so the tests need to check for all combinations of the two parameters.

(cherry picked from commit 7c0d36ff5fc31d00e26661fd2ad45291ed0eb6f7)

Gbp-Pq: Name test-modify-add-tests-for-UseRoutes-and-UseGateway-config.patch
test/test-network/conf/dhcp-client-ipv4-use-gateway-no.network [deleted file]
test/test-network/conf/dhcp-client-ipv4-use-routes-no.network [deleted file]
test/test-network/conf/dhcp-client-ipv4-use-routes-use-gateway.network [new file with mode: 0644]
test/test-network/conf/dhcp-client-ipv4-use-routes-use-gateway.network.d/use-gateway-False.conf [new file with mode: 0644]
test/test-network/conf/dhcp-client-ipv4-use-routes-use-gateway.network.d/use-gateway-True.conf [new file with mode: 0644]
test/test-network/conf/dhcp-client-ipv4-use-routes-use-gateway.network.d/use-routes-False.conf [new file with mode: 0644]
test/test-network/conf/dhcp-client-ipv4-use-routes-use-gateway.network.d/use-routes-True.conf [new file with mode: 0644]
test/test-network/systemd-networkd-tests.py