]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: More scan result flushing to make testing more robust
authorJouni Malinen <j@w1.fi>
Sat, 12 Apr 2025 07:38:56 +0000 (10:38 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 12 Apr 2025 07:38:56 +0000 (10:38 +0300)
commit64414f6085e04afb9d5e2eb72fafcb31cde881ce
treed2cd938306d7df81f8a0ecc0846f30fe31255ea1
parenta92ae2f7ace42197019aa5acf9f775e075a483fb
tests: More scan result flushing to make testing more robust

Test case sequence 'scan_chan_switch ssid_utf8' was failing due to a
scan result surviving from the first test case to the second and the old
entry ended up breaking check for the UTF-8 flag. Fix this by explicitly
flushing old scan results.

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