From 2e2f0f45def24efdf62f378e1ce0c072ea0bc45a Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 2 Jan 2019 17:38:27 +0200 Subject: [PATCH] tests: [UTF-8] flag in scan results Signed-off-by: Jouni Malinen --- tests/hwsim/test_ssid.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/hwsim/test_ssid.py b/tests/hwsim/test_ssid.py index 598e2dafb..68034e2c9 100644 --- a/tests/hwsim/test_ssid.py +++ b/tests/hwsim/test_ssid.py @@ -72,6 +72,11 @@ def test_ssid_utf8(dev, apdev): if len(sta3) != 0: raise Exception("Unexpected STA iteration result (did not stop)") + if "[UTF-8]" not in dev[0].get_bss(hapd.own_addr())['flags']: + raise Exception("[UTF-8] flag not included in BSS") + if "[UTF-8]" not in dev[0].request("SCAN_RESULTS"): + raise Exception("[UTF-8] flag not included in SCAN_RESULTS") + def clear_scan_cache(hapd, dev): # clear BSS table to avoid issues in following test cases dev[0].request("REMOVE_NETWORK all")