3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

unit: assert that l_settings creation/loading succeeds

This commit is contained in:
Denis Kenzior 2019-10-17 12:42:45 -05:00
parent aba73171f6
commit c8247c3754

View File

@ -3174,7 +3174,9 @@ static void eapol_sm_test_eap_tls_embedded(const void *data)
struct l_settings *config;
config = l_settings_new();
l_settings_load_from_file(config, CERTDIR "tls-settings.8021x");
assert(config);
assert(l_settings_load_from_file(config, CERTDIR "tls-settings.8021x"));
s.app_data_cb = eapol_sm_test_tls_new_data;
s.ready_cb = eapol_sm_test_tls_test_ready;