mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-06 12:58:22 +03:00
test-network: add a test for IPv4LLRoute=
This commit is contained in:
parent
6543b7fd78
commit
2b00dff809
@ -6,6 +6,7 @@ IPv6AcceptRA=no
|
||||
Address=2001:1234:5:8f63::1/128
|
||||
Address=149.10.124.58/28
|
||||
DefaultRouteOnDevice=yes
|
||||
IPv4LLRoute=yes
|
||||
|
||||
[Route]
|
||||
Destination=2001:1234:5:8fff:ff:ff:ff:ff/128
|
||||
|
@ -1203,6 +1203,7 @@ class NetworkdNetWorkTests(unittest.TestCase, Utilities):
|
||||
print(output)
|
||||
self.assertRegex(output, '149.10.124.48/28 proto kernel scope link src 149.10.124.58')
|
||||
self.assertRegex(output, '149.10.124.64 proto static scope link')
|
||||
self.assertRegex(output, '169.254.0.0/16 proto static scope link metric 2048')
|
||||
self.assertRegex(output, '192.168.1.1 proto static initcwnd 20')
|
||||
self.assertRegex(output, '192.168.1.2 proto static initrwnd 30')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user