tests: FST-ATTACH OOM in fst_iface_create()
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3da112c5af
commit
a248e29dac
1 changed files with 5 additions and 0 deletions
|
@ -1938,6 +1938,11 @@ def test_fst_ap_config_oom(dev, apdev, test_params):
|
||||||
if not res.startswith("FAIL"):
|
if not res.startswith("FAIL"):
|
||||||
raise Exception("FST-ATTACH succeeded unexpectedly")
|
raise Exception("FST-ATTACH succeeded unexpectedly")
|
||||||
|
|
||||||
|
with alloc_fail(hapd, 1, "fst_iface_create"):
|
||||||
|
res = ap1.grequest("FST-ATTACH %s %s" % (ap1.iface, ap1.fst_group))
|
||||||
|
if not res.startswith("FAIL"):
|
||||||
|
raise Exception("FST-ATTACH succeeded unexpectedly")
|
||||||
|
|
||||||
with alloc_fail(hapd, 1, "fst_group_create_mb_ie"):
|
with alloc_fail(hapd, 1, "fst_group_create_mb_ie"):
|
||||||
res = ap1.grequest("FST-ATTACH %s %s" % (ap1.iface, ap1.fst_group))
|
res = ap1.grequest("FST-ATTACH %s %s" % (ap1.iface, ap1.fst_group))
|
||||||
# This is allowed to complete currently
|
# This is allowed to complete currently
|
||||||
|
|
Loading…
Reference in a new issue