[PATCH] tests: Skip DPP configuration test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Skip wpas_config_file_key_mgmt if DPP is not supported.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx>
---
 tests/hwsim/test_wpas_config.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/hwsim/test_wpas_config.py b/tests/hwsim/test_wpas_config.py
index 70b354697b..7688c20d1c 100644
--- a/tests/hwsim/test_wpas_config.py
+++ b/tests/hwsim/test_wpas_config.py
@@ -541,7 +541,10 @@ def test_wpas_config_file_key_mgmt(dev, apdev, params):
 
     wpas.interface_add("wlan5", config=config)
 
-    from test_dpp import params1_csign, params1_sta_connector, params1_sta_netaccesskey
+    from test_dpp import params1_csign, params1_sta_connector, params1_sta_netaccesskey, check_dpp_capab
+
+    check_dpp_capab(wpas)
+
     id = wpas.add_network()
     wpas.set_network_quoted(id, "ssid", "foo")
     wpas.set_network(id, "key_mgmt", "DPP")
-- 
2.19.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux