1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

test-network: update format used by networkctl status

This commit is contained in:
Yu Watanabe 2019-02-19 17:38:30 +09:00
parent 5f06ba8018
commit fde66c2120

View File

@ -287,7 +287,7 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
self.assertRegex(output, 'dropin-test')
output = subprocess.check_output(['networkctl', 'status', 'dropin-*']).rstrip().decode('utf-8')
self.assertNotRegex(output, '1 lo ')
self.assertNotRegex(output, '1: lo ')
self.assertRegex(output, 'dropin-test')
self.assertRegex(output, 'Driver: dummy')