From: Jouni Malinen Date: Fri, 11 Dec 2020 17:54:47 +0000 (+0200) Subject: tests: Update scan_fail to match implementation change X-Git-Tag: hostap_2_10~725 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4c815a77a1e85f35bc2391057bb1dd5d6865af9;p=thirdparty%2Fhostap.git 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 --- diff --git a/tests/hwsim/test_scan.py b/tests/hwsim/test_scan.py index 2e64ceec7..458887cd3 100644 --- a/tests/hwsim/test_scan.py +++ b/tests/hwsim/test_scan.py @@ -1137,7 +1137,7 @@ def test_scan_fail(dev, apdev): try: if "OK" not in dev[0].request("SET setband 2G"): 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 # allocation failure, this scan is expected to be completed without # frequency filtering.