]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Update authsrv_oom to match implementation changes
authorJouni Malinen <j@w1.fi>
Mon, 19 Aug 2019 23:59:06 +0000 (02:59 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 19 Aug 2019 23:59:06 +0000 (02:59 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_authsrv.py

index 4610e9f01764b36feb53e9e5082335ac43b28057..e0665bcb26b2720695d288ead1d222da0355e11e 100644 (file)
@@ -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,