From: Jouni Malinen Date: Mon, 19 Aug 2019 23:59:06 +0000 (+0300) Subject: tests: Update authsrv_oom to match implementation changes X-Git-Tag: hostap_2_10~2420 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b39274ca3dafbd3e67a9622603687a8000442bb;p=thirdparty%2Fhostap.git tests: Update authsrv_oom to match implementation changes Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_authsrv.py b/tests/hwsim/test_authsrv.py index 4610e9f01..e0665bcb2 100644 --- a/tests/hwsim/test_authsrv.py +++ b/tests/hwsim/test_authsrv.py @@ -145,11 +145,6 @@ def test_authsrv_oom(dev, apdev): with alloc_fail(authsrv, 2, "radius_server_init;hostapd_setup_radius_srv"): if "FAIL" not in authsrv.request("ENABLE"): raise Exception("ENABLE succeeded during OOM") - with alloc_fail(authsrv, 3, "radius_server_init;hostapd_setup_radius_srv"): - authsrv.request("ENABLE") - # This is actually allowed to continue even though memory allocation - # fails. - authsrv.disable() for count in range(1, 4): with alloc_fail(authsrv, count,