]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Skip LEAP tests if not included in the build
authorJouni Malinen <j@w1.fi>
Sun, 2 Aug 2015 12:58:08 +0000 (15:58 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 2 Aug 2015 13:52:56 +0000 (16:52 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_eap_proto.py

index 460e7c93db2330aa1c8e369acb0718c91b04addd..f0c8a520bbe5492e10764a06f5386db24c93a7ae 100644 (file)
@@ -558,6 +558,7 @@ def test_eap_proto_sake(dev, apdev):
 
 def test_eap_proto_leap(dev, apdev):
     """EAP-LEAP protocol tests"""
+    check_eap_capa(dev[0], "LEAP")
     def leap_handler(ctx, req):
         logger.info("leap_handler - RX " + req.encode("hex"))
         if 'num' not in ctx: