mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +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'
|
||||
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):
|
||||
self.start_iwd_pkex_configurator(self.device[0], agent=True)
|
||||
|
||||
|
@ -1,14 +1,5 @@
|
||||
[Security]
|
||||
Passphrase=secret123
|
||||
|
||||
[DeviceProvisioning]
|
||||
SharedCode=secret123
|
||||
SharedCodeIdentifier=test
|
||||
ExactConfig=true
|
||||
|
||||
[IPv4]
|
||||
SendHostname=true
|
||||
|
||||
[Settings]
|
||||
AutoConnect=true
|
||||
Hidden=false
|
||||
|
Loading…
Reference in New Issue
Block a user