mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
test-network: add test case for issue #30403
(cherry picked from commit5e46ca9890
) (cherry picked from commitfbe064cc74
) (cherry picked from commitd948b169ad
) (cherry picked from commit29c975fca0
)
This commit is contained in:
parent
83abec719e
commit
11e885ffa3
@ -98,3 +98,10 @@ MultiPathRoute=2001:1234:5:9fff:ff:ff:ff:ff@dummy98 5
|
||||
Destination=192.168.10.2/32
|
||||
MultiPathRoute=2001:1234:5:8fff:ff:ff:ff:ff@dummy98 10
|
||||
MultiPathRoute=2001:1234:5:9fff:ff:ff:ff:ff@dummy98 5
|
||||
|
||||
[Address]
|
||||
Address=1.1.8.105/31
|
||||
Peer=1.1.8.104/31
|
||||
|
||||
[Route]
|
||||
Gateway=1.1.8.104
|
||||
|
@ -2684,6 +2684,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
|
||||
self.assertIn('default via 149.10.125.65 proto static onlink', output)
|
||||
self.assertIn('default via 149.10.124.64 proto static', output)
|
||||
self.assertIn('default proto static', output)
|
||||
self.assertIn('default via 1.1.8.104 proto static', output)
|
||||
|
||||
print('### ip -4 route show table local dev dummy98')
|
||||
output = check_output('ip -4 route show table local dev dummy98')
|
||||
|
Loading…
Reference in New Issue
Block a user