From: Jouni Malinen Date: Sun, 2 Aug 2015 12:58:08 +0000 (+0300) Subject: tests: Skip LEAP tests if not included in the build X-Git-Tag: hostap_2_5~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=597516df7984a66cc74581d6481dfffdc889b8c0;p=thirdparty%2Fhostap.git tests: Skip LEAP tests if not included in the build Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_eap_proto.py b/tests/hwsim/test_eap_proto.py index 460e7c93d..f0c8a520b 100644 --- a/tests/hwsim/test_eap_proto.py +++ b/tests/hwsim/test_eap_proto.py @@ -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: