From 39139d7ead597b7e2e1b51236c79c4dcce8c8059 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 15 Mar 2019 23:53:27 +0200 Subject: [PATCH] tests: Decode brctl showmacs output for the debug log This is needed with python3 to make the debug log more readable. Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_hs20.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 6afec8f84..af33c3462 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -4572,7 +4572,7 @@ def get_bridge_macs(ifname): stdout=subprocess.PIPE) res = cmd.stdout.read() cmd.stdout.close() - return res + return res.decode() def tshark_get_arp(cap, filter): res = run_tshark(cap, filter,