mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
test-network: Add test for BareUDP srcportmin
This commit is contained in:
parent
7918894302
commit
3859ef162b
@ -5,4 +5,5 @@ Name=bareudp99
|
||||
|
||||
[BareUDP]
|
||||
DestinationPort=1000
|
||||
MinSourcePort=1001
|
||||
EtherType=ipv4
|
||||
|
@ -1556,6 +1556,7 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
|
||||
print(output)
|
||||
self.assertRegex(output, 'dstport 1000 ')
|
||||
self.assertRegex(output, 'ethertype ip ')
|
||||
self.assertRegex(output, 'srcportmin 1001 ')
|
||||
|
||||
@expectedFailureIfModuleIsNotAvailable('batman-adv')
|
||||
def test_batadv(self):
|
||||
|
Loading…
Reference in New Issue
Block a user