tests: wpa_supplicant SAVE_CONFIG without config file
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
87775e32f6
commit
b27c7ac0eb
1 changed files with 8 additions and 0 deletions
|
@ -644,3 +644,11 @@ def test_wpas_config_file_sae(dev, apdev, params):
|
||||||
only_add_network=True)
|
only_add_network=True)
|
||||||
wpas.save_config()
|
wpas.save_config()
|
||||||
check_network_config(config, False)
|
check_network_config(config, False)
|
||||||
|
|
||||||
|
def test_wpas_config_update_without_file(dev, apdev):
|
||||||
|
"""wpa_supplicant SAVE_CONFIG without config file"""
|
||||||
|
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
|
||||||
|
wpas.interface_add("wlan5")
|
||||||
|
wpas.set("update_config", "1")
|
||||||
|
if "FAIL" not in wpas.request("SAVE_CONFIG"):
|
||||||
|
raise Exception("SAVE_CONFIG accepted unexpectedly")
|
||||||
|
|
Loading…
Reference in a new issue