test-network: add tests for [DHCPv4] AllowList= and DenyList=
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 21 Nov 2023 18:35:21 +0000 (03:35 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 21 Nov 2023 20:37:04 +0000 (05:37 +0900)
commitb65c539088a2ab4cb977d6bd7adba2e8a4c4c90f
tree61374453dc2a0ad2143bc34515007e0f4812b4bd
parentb6d669d5af5b23550c7592432bcfed2ff73c362b
test-network: add tests for [DHCPv4] AllowList= and DenyList=

We have not tested if the settings actually filter DHCP servers.
Let's add a test case for the settings.

Note, the .network file used here has been unused since
0730e3767d91e020985dc5c7c2178460f627581a. So, we can freely reuse it
without changing other test cases.

Closes #30107.
test/test-network/conf/25-dhcp-client-allow-list.network
test/test-network/conf/25-dhcp-client-allow-list.network.d/00-allow-list.conf [new file with mode: 0644]
test/test-network/conf/25-dhcp-client-allow-list.network.d/10-deny-list.conf [new file with mode: 0644]
test/test-network/systemd-networkd-tests.py