mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +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]
|
[BareUDP]
|
||||||
DestinationPort=1000
|
DestinationPort=1000
|
||||||
|
MinSourcePort=1001
|
||||||
EtherType=ipv4
|
EtherType=ipv4
|
||||||
|
@ -1556,6 +1556,7 @@ class NetworkdNetDevTests(unittest.TestCase, Utilities):
|
|||||||
print(output)
|
print(output)
|
||||||
self.assertRegex(output, 'dstport 1000 ')
|
self.assertRegex(output, 'dstport 1000 ')
|
||||||
self.assertRegex(output, 'ethertype ip ')
|
self.assertRegex(output, 'ethertype ip ')
|
||||||
|
self.assertRegex(output, 'srcportmin 1001 ')
|
||||||
|
|
||||||
@expectedFailureIfModuleIsNotAvailable('batman-adv')
|
@expectedFailureIfModuleIsNotAvailable('batman-adv')
|
||||||
def test_batadv(self):
|
def test_batadv(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user