diff options
author | James Prestwood <prestwoj@gmail.com> | 2023-11-17 06:12:26 -0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2023-11-17 09:49:06 -0600 |
commit | 4b147217ac2b5a115013bb27dcc478d7447eb717 (patch) | |
tree | bb7b069481b543ce14515c9b214dcfbaf6d1410f | |
parent | 6afda046c2947542832b953e10f08addafbbc433 (diff) |
auto-t: add checks for DPP 3rd party settings
Ensure the newly configured profile contains the additional
SendHostname setting that the configurator sends.
-rw-r--r-- | autotests/testDPP/pkex_test.py | 6 | ||||
-rw-r--r-- | autotests/testDPP/ssidCCMP.psk | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/autotests/testDPP/pkex_test.py b/autotests/testDPP/pkex_test.py index 6c5cf0547..9e0b5dd82 100644 --- a/autotests/testDPP/pkex_test.py +++ b/autotests/testDPP/pkex_test.py @@ -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) diff --git a/autotests/testDPP/ssidCCMP.psk b/autotests/testDPP/ssidCCMP.psk index d428fd345..a82324c88 100644 --- a/autotests/testDPP/ssidCCMP.psk +++ b/autotests/testDPP/ssidCCMP.psk @@ -1,14 +1,5 @@ [Security] Passphrase=secret123 -[DeviceProvisioning] -SharedCode=secret123 -SharedCodeIdentifier=test -ExactConfig=true - [IPv4] SendHostname=true - -[Settings] -AutoConnect=true -Hidden=false |