]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Skip dbus_connect_eap if altsubject_match is not supported
authorJouni Malinen <j@w1.fi>
Sun, 29 Nov 2015 18:57:26 +0000 (20:57 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Nov 2015 18:57:26 +0000 (20:57 +0200)
This test case fails with the current internal TLS client implementation
since the needed altsubject_match parameter is not yet supported.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_dbus.py

index a85c33c8fe5c216166ba271d8627c6278b879452..5d1e0796c4040c20620fb510bd3f524718665c5a 100644 (file)
@@ -22,6 +22,7 @@ from wpasupplicant import WpaSupplicant
 from utils import HwsimSkip, alloc_fail, fail_test
 from p2p_utils import *
 from test_ap_tdls import connect_2sta_open
+from test_ap_eap import check_altsubject_match_support
 
 WPAS_DBUS_SERVICE = "fi.w1.wpa_supplicant1"
 WPAS_DBUS_PATH = "/fi/w1/wpa_supplicant1"
@@ -1407,6 +1408,7 @@ def test_dbus_while_not_connected(dev, apdev):
 
 def test_dbus_connect_eap(dev, apdev):
     """D-Bus AddNetwork and connect to EAP network"""
+    check_altsubject_match_support(dev[0])
     (bus,wpas_obj,path,if_obj) = prepare_dbus(dev[0])
     iface = dbus.Interface(if_obj, WPAS_DBUS_IFACE)