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:
parent
5f06ba8018
commit
fde66c2120
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user