From: Jouni Malinen Date: Sat, 17 Jan 2015 15:15:42 +0000 (+0200) Subject: tests: Mark proxyarp_open as skip if traffic test fails X-Git-Tag: hostap_2_4~380 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e3a6c9e210576cc35fc5ed40b42c2f76dc21d29;p=thirdparty%2Fhostap.git tests: Mark proxyarp_open as skip if traffic test fails This step requires kernel changes that are not yet in upstream Linux tree, so mark this as skip rather than failure for now. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 1a4e438b6..620551c22 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -3112,7 +3112,11 @@ def _test_proxyarp_open(dev, apdev, params): send_na(hapd, hapd_bssid=bssid, target="aaaa:bbbb:cccc:aeae::4", ip_src="aaaa:bbbb:cccc:aeae::4", ip_dst="ff02::1") - hwsim_utils.test_connectivity_iface(dev[0], hapd, "ap-br0") + try: + hwsim_utils.test_connectivity_iface(dev[0], hapd, "ap-br0") + except Exception, e: + logger.info("test_connectibity_iface failed: " + str(e)) + raise HwsimSkip("Assume kernel did not have the required patches for proxyarp") hwsim_utils.test_connectivity_iface(dev[1], hapd, "ap-br0") hwsim_utils.test_connectivity(dev[0], dev[1])