diff mbox series

[22/26] auto-t: Add GCMP|CCMP-256 to WPA2 test

Message ID 20221021191307.31492-22-denkenz@gmail.com (mailing list archive)
State New
Headers show
Series [01/26] eapol: More strictly validate key_descriptor_version | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
prestwoj/iwd-ci-gitlint success GitLint

Commit Message

Denis Kenzior Oct. 21, 2022, 7:13 p.m. UTC
---
 autotests/testWPA2/connection_test.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/autotests/testWPA2/connection_test.py b/autotests/testWPA2/connection_test.py
index 2cbdf8e1b788..a5a655f58795 100644
--- a/autotests/testWPA2/connection_test.py
+++ b/autotests/testWPA2/connection_test.py
@@ -54,6 +54,18 @@  class Test(unittest.TestCase):
         self.hostapd.wait_for_event("AP-ENABLED")
         self.validate_connection_success(self.wd)
 
+    def test_gcmp_256(self):
+        self.hostapd.set_value('rsn_pairwise', 'GCMP-256')
+        self.hostapd.reload()
+        self.hostapd.wait_for_event("AP-ENABLED")
+        self.validate_connection_success(self.wd)
+
+    def test_ccmp_256(self):
+        self.hostapd.set_value('rsn_pairwise', 'CCMP-256')
+        self.hostapd.reload()
+        self.hostapd.wait_for_event("AP-ENABLED")
+        self.validate_connection_success(self.wd)
+
     def setUp(self):
         self.wd = IWD(True)