mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
parent
dfef713f3e
commit
7e6636196a
@ -12,3 +12,7 @@ Label=32
|
||||
[Address]
|
||||
Address=10.6.7.8/16
|
||||
Label=33
|
||||
|
||||
[Address]
|
||||
Address=2001:db8::20
|
||||
Peer=2001:db8::10/128
|
||||
|
@ -659,6 +659,7 @@ class NetworkdNetWorkTests(unittest.TestCase, Utilities):
|
||||
print(output)
|
||||
self.assertRegex(output, 'inet 10.2.3.4 peer 10.2.3.5/16 scope global 32')
|
||||
self.assertRegex(output, 'inet 10.6.7.8/16 brd 10.6.255.255 scope global 33')
|
||||
self.assertRegex(output, 'inet6 2001:db8::20 peer 2001:db8::10/128 scope global')
|
||||
|
||||
output = subprocess.check_output(['networkctl', 'status', 'dummy98']).rstrip().decode('utf-8')
|
||||
print(output)
|
||||
|
Loading…
Reference in New Issue
Block a user