mirror of
https://github.com/systemd/systemd.git
synced 2025-03-23 10:50:16 +03:00
test-network: test static lease outside of pool
This commit is contained in:
parent
b713a99b1a
commit
af0d4e6ef5
test/test-network
@ -14,4 +14,4 @@ DNS=9.9.9.9
|
||||
|
||||
[DHCPServerStaticLease]
|
||||
MACAddress=12:34:56:78:9a:bc
|
||||
Address=10.1.1.3
|
||||
Address=10.1.1.200
|
||||
|
@ -3863,7 +3863,7 @@ class NetworkdDHCPServerTests(unittest.TestCase, Utilities):
|
||||
|
||||
output = check_output(*networkctl_cmd, '-n', '0', 'status', 'veth99', env=env)
|
||||
print(output)
|
||||
self.assertIn('10.1.1.3 (DHCP4 via 10.1.1.1)', output)
|
||||
self.assertIn('10.1.1.200 (DHCP4 via 10.1.1.1)', output)
|
||||
|
||||
class NetworkdDHCPServerRelayAgentTests(unittest.TestCase, Utilities):
|
||||
links = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user