mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Update scan_fail to match implementation change
The function name for adding frequency lists changed, so this test case needs a matching change to avoid failures. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
2a37cda747
commit
e4c815a77a
@ -1137,7 +1137,7 @@ def test_scan_fail(dev, apdev):
|
|||||||
try:
|
try:
|
||||||
if "OK" not in dev[0].request("SET setband 2G"):
|
if "OK" not in dev[0].request("SET setband 2G"):
|
||||||
raise Exception("SET setband failed")
|
raise Exception("SET setband failed")
|
||||||
with alloc_fail(dev[0], 1, "=wpa_setband_scan_freqs_list"):
|
with alloc_fail(dev[0], 1, "=wpa_add_scan_freqs_list"):
|
||||||
# While the frequency list cannot be created due to memory
|
# While the frequency list cannot be created due to memory
|
||||||
# allocation failure, this scan is expected to be completed without
|
# allocation failure, this scan is expected to be completed without
|
||||||
# frequency filtering.
|
# frequency filtering.
|
||||||
|
Loading…
Reference in New Issue
Block a user