summaryrefslogtreecommitdiffstats
path: root/test/networkd-test.py
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-11-30 16:13:23 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-01-12 05:44:52 +0100
commita2640646f1bf30193a39a820268d86a33e08eeef (patch)
tree83f83143bd2a89dd670fc7efe36934c920e84e56 /test/networkd-test.py
parentnetwork: fix race between RTM_NEWLINK and NL82011_CMD_NEW_INTERFACE (diff)
downloadsystemd-a2640646f1bf30193a39a820268d86a33e08eeef.tar.xz
systemd-a2640646f1bf30193a39a820268d86a33e08eeef.zip
network: Show network and link file dropins in networkctl status
Fixes #24428
Diffstat (limited to '')
-rwxr-xr-xtest/networkd-test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/networkd-test.py b/test/networkd-test.py
index 0a5ba11f89..9e7233d39b 100755
--- a/test/networkd-test.py
+++ b/test/networkd-test.py
@@ -992,6 +992,9 @@ DNS=127.0.0.1
self.assertIn('nameserver 192.168.42.1\n', contents)
self.assertIn('nameserver 127.0.0.1\n', contents)
+ out = subprocess.check_output(['networkctl', 'status', 'dummy0'])
+ self.assertIn(b'test.network.d/dns.conf', out)
+
def test_dhcp_timezone(self):
'''networkd sets time zone from DHCP'''