From d7a68ad6b92eb8abed4f398ea7f45cd8eed08f85 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 22 Mar 2014 18:39:17 +0200 Subject: [PATCH] tests: Print BSS data on ap_wps_ie_fragmention error case This makes it easier to debug what failed. Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_wps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index ee64077d6..bd5e3c05c 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -1078,6 +1078,7 @@ def test_ap_wps_ie_fragmentation(dev, apdev): raise Exception("Association with the AP timed out") bss = dev[0].get_bss(apdev[0]['bssid']) if "wps_device_name" not in bss or bss['wps_device_name'] != "1234567890abcdef1234567890abcdef": + logger.info(bss) raise Exception("Device Name not received correctly") if len(re.findall("dd..0050f204", bss['ie'])) != 2: raise Exception("Unexpected number of WPS IEs")