tests: Update erp_home_realm function name for erp_home_realm_oom

This function got renamed, so need to update the OOM test case to use
the new function name when matching backtrace information.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2017-04-07 17:05:49 +03:00 committed by Jouni Malinen
parent 15def72fab
commit fcd87103be

View File

@ -455,7 +455,7 @@ def test_erp_home_realm_oom(dev, apdev):
hapd = hostapd.add_ap(apdev[0], params)
for count in range(1, 3):
with alloc_fail(dev[0], count, "eap_home_realm"):
with alloc_fail(dev[0], count, "eap_get_realm"):
dev[0].request("ERP_FLUSH")
dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP", eap="TTLS",
identity="erp-ttls@example.com",
@ -469,7 +469,7 @@ def test_erp_home_realm_oom(dev, apdev):
dev[0].wait_disconnected()
for count in range(1, 3):
with alloc_fail(dev[0], count, "eap_home_realm"):
with alloc_fail(dev[0], count, "eap_get_realm"):
dev[0].request("ERP_FLUSH")
dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP", eap="TTLS",
identity="erp-ttls",
@ -493,7 +493,7 @@ def test_erp_home_realm_oom(dev, apdev):
dev[0].wait_connected(timeout=10)
if range > 1:
continue
with alloc_fail(dev[0], count, "eap_home_realm"):
with alloc_fail(dev[0], count, "eap_get_realm"):
dev[0].request("DISCONNECT")
dev[0].wait_disconnected(timeout=15)
dev[0].request("RECONNECT")