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, 7 Jun 2020 22:56:37 +0000 (23:56 +0100)
commit708c55497dbf6b0fcb46c9711819751d6d0aab21
tree56f320889fca5ebec9db7df2e8babbb588fa1b60
parentd5f8f07e58240ca60cc1166ff67bad6396144ac6
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