mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 15:20:42 +01:00
auto-t: add checks for DPP 3rd party settings
Ensure the newly configured profile contains the additional SendHostname setting that the configurator sends.
This commit is contained in:
parent
6afda046c2
commit
4b147217ac
@ -168,6 +168,12 @@ class Test(unittest.TestCase):
|
|||||||
condition = 'obj.state == DeviceState.connected'
|
condition = 'obj.state == DeviceState.connected'
|
||||||
self.wd.wait_for_object_condition(self.device[1], condition)
|
self.wd.wait_for_object_condition(self.device[1], condition)
|
||||||
|
|
||||||
|
# Check additional settings were carried over
|
||||||
|
with open('/tmp/ns0/ssidCCMP.psk', 'r') as f:
|
||||||
|
settings = f.read()
|
||||||
|
|
||||||
|
self.assertIn("SendHostname=true", settings)
|
||||||
|
|
||||||
def test_pkex_configurator_with_agent(self):
|
def test_pkex_configurator_with_agent(self):
|
||||||
self.start_iwd_pkex_configurator(self.device[0], agent=True)
|
self.start_iwd_pkex_configurator(self.device[0], agent=True)
|
||||||
|
|
||||||
|
@ -1,14 +1,5 @@
|
|||||||
[Security]
|
[Security]
|
||||||
Passphrase=secret123
|
Passphrase=secret123
|
||||||
|
|
||||||
[DeviceProvisioning]
|
|
||||||
SharedCode=secret123
|
|
||||||
SharedCodeIdentifier=test
|
|
||||||
ExactConfig=true
|
|
||||||
|
|
||||||
[IPv4]
|
[IPv4]
|
||||||
SendHostname=true
|
SendHostname=true
|
||||||
|
|
||||||
[Settings]
|
|
||||||
AutoConnect=true
|
|
||||||
Hidden=false
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user