tests: Update authsrv_oom to match implementation changes

Signed-off-by: Jouni Malinen <j@w1.fi>
master
Jouni Malinen 5 years ago
parent 9ce3bfaf47
commit 0b39274ca3

@ -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,

Loading…
Cancel
Save