mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Update authsrv_oom to match implementation changes
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
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…
Reference in New Issue
Block a user