network: Show network and link file dropins in networkctl status

Fixes #24428
This commit is contained in:
Daan De Meyer
2023-01-12 13:44:52 +09:00
committed by Yu Watanabe
parent 9c5b8d46e5
commit a2640646f1
11 changed files with 116 additions and 7 deletions
+3
View File
@@ -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'''