]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Make ap_anqp_sharing more robust
authorJouni Malinen <j@w1.fi>
Sat, 17 Jan 2015 16:19:45 +0000 (18:19 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 18 Jan 2015 10:50:20 +0000 (12:50 +0200)
commit57f08b3f3af74ac76e26a5ae9c2acadd7d22fb8f
tree2020da6af82dd87fbc15228ad31b7dda4f6a23b5
parent296186c006b5124a3171e59b3c4c868af42fed43
tests: Make ap_anqp_sharing more robust

This test case uses get_bss() with a BSSID to find a BSS entry. That can
result in failures if there are multiple BSS entries in wpa_supplicant
BSS table for the same BSSID, e.g., due to an earlier hidden SSID test
case. Explicitly clear the cfg80211 and wpa_supplicant scan caches at
the beginning of this test case to make it less likely for earlier test
cases to trigger a failure here.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_hs20.py