3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-21 22:09: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:
James Prestwood 2023-11-17 06:12:26 -08:00 committed by Denis Kenzior
parent 6afda046c2
commit 4b147217ac
2 changed files with 6 additions and 9 deletions

View File

@ -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)

View File

@ -1,14 +1,5 @@
[Security]
Passphrase=secret123
[DeviceProvisioning]
SharedCode=secret123
SharedCodeIdentifier=test
ExactConfig=true
[IPv4]
SendHostname=true
[Settings]
AutoConnect=true
Hidden=false