From 059bcc47827701b7bcf70daaf59ead1af079c7b1 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 19 Jan 2015 01:35:00 +0200 Subject: [PATCH] tests: Increase hostapd out-of-memory loop coverage Signed-off-by: Jouni Malinen --- tests/hwsim/test_hostapd_oom.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/hwsim/test_hostapd_oom.py b/tests/hwsim/test_hostapd_oom.py index 78ed7ec0b..8eec46015 100644 --- a/tests/hwsim/test_hostapd_oom.py +++ b/tests/hwsim/test_hostapd_oom.py @@ -43,9 +43,13 @@ def test_hostapd_oom_open(dev, apdev): def test_hostapd_oom_wpa2_psk(dev, apdev): """hostapd failing to setup WPA2-PSK mode due to OOM""" params = hostapd.wpa2_params(ssid="test", passphrase="12345678") + params['wpa_psk_file'] = 'hostapd.wpa_psk' hostapd_oom_loop(apdev, params) def test_hostapd_oom_wpa2_eap(dev, apdev): """hostapd failing to setup WPA2-EAP mode due to OOM""" params = hostapd.wpa2_eap_params(ssid="test") + params['acct_server_addr'] = "127.0.0.1" + params['acct_server_port'] = "1813" + params['acct_server_shared_secret'] = "radius" hostapd_oom_loop(apdev, params)