]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: FT OOM in SME
authorJouni Malinen <j@w1.fi>
Sun, 17 Jul 2016 21:14:14 +0000 (00:14 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 17 Jul 2016 21:14:14 +0000 (00:14 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_ft.py

index 191fee8ccd292b48359c5dea74424ed5f9a6ce79..bd9b1abece8aded574ece922fbc6455afb020871 100644 (file)
@@ -802,6 +802,11 @@ def test_ap_ft_oom(dev, apdev):
     with fail_test(dev[0], 1, "os_get_random;wpa_ft_prepare_auth_request"):
         dev[0].roam(dst, fail_test=True)
 
     with fail_test(dev[0], 1, "os_get_random;wpa_ft_prepare_auth_request"):
         dev[0].roam(dst, fail_test=True)
 
+    dev[0].request("REMOVE_NETWORK all")
+    with alloc_fail(dev[0], 1, "=sme_update_ft_ies"):
+        dev[0].connect(ssid, psk=passphrase, key_mgmt="FT-PSK", proto="WPA2",
+                       scan_freq="2412")
+
 def test_ap_ft_over_ds_proto(dev, apdev):
     """WPA2-PSK-FT AP over DS protocol testing"""
     ssid = "test-ft"
 def test_ap_ft_over_ds_proto(dev, apdev):
     """WPA2-PSK-FT AP over DS protocol testing"""
     ssid = "test-ft"