summaryrefslogtreecommitdiffstats
path: root/test/test-network/systemd-networkd-tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-network/systemd-networkd-tests.py')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 3a30c8bfd1..3cf743dec2 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -3729,12 +3729,14 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
def test_ipv6_address_label(self):
copy_network_unit('25-ipv6-address-label-section.network', '12-dummy.netdev')
+ copy_networkd_conf_dropin('networkd-address-label.conf')
start_networkd()
self.wait_online('dummy98:degraded')
output = check_output('ip addrlabel list')
print(output)
- self.assertRegex(output, '2004:da8:1::/64')
+ self.assertRegex(output, '2004:da8:1::/64 dev dummy98 label 4444')
+ self.assertRegex(output, '2004:da8:2::/64 label 5555')
def test_ipv6_proxy_ndp(self):
copy_network_unit('25-ipv6-proxy-ndp.network', '12-dummy.netdev')