From: Jouni Malinen Date: Sat, 13 Apr 2019 09:06:09 +0000 (+0300) Subject: tests: Show ifname in country code not cleared messages X-Git-Tag: hostap_2_8~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e467d7ab4a076a38b1e48d355512d41a535c1cd6;p=thirdparty%2Fhostap.git tests: Show ifname in country code not cleared messages Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/run-tests.py b/tests/hwsim/run-tests.py index 940448180..4bb7f1b5e 100755 --- a/tests/hwsim/run-tests.py +++ b/tests/hwsim/run-tests.py @@ -511,8 +511,8 @@ def main(): country = d.get_driver_status_field("country") if country != "00": d.dump_monitor() - logger.info("Country code not reset back to 00: is " + country) - print("Country code not reset back to 00: is " + country) + logger.info(d.ifname + ": Country code not reset back to 00: is " + country) + print(d.ifname + ": Country code not reset back to 00: is " + country) result = "FAIL" # Try to wait for cfg80211 regulatory state to @@ -524,8 +524,8 @@ def main(): if country == "00": break if country == "00": - print("Country code cleared back to 00") - logger.info("Country code cleared back to 00") + print(d.ifname + ": Country code cleared back to 00") + logger.info(d.ifname + ": Country code cleared back to 00") else: print("Country code remains set - expect following test cases to fail") logger.info("Country code remains set - expect following test cases to fail")