Fixed Ethernet over EAP enabled status on device reboot.
[platform/core/api/connection.git] / test / connection_test.c
index 5213018..d47f4e9 100755 (executable)
@@ -2841,6 +2841,12 @@ int test_get_eapol_info(void)
        if (test_get_user_selected_profile(&profile, true) == false)
                return -1;
 
+       bool enabled = false;
+       if (connection_profile_is_ethernet_eap_enabled(profile, &enabled) != CONNECTION_ERROR_NONE) {
+               printf("Failed to get ethernet eap enabled status!!\n");
+       }
+       printf("EAP over Ethernet is %s\n", enabled ? "enabled" : "not enabled");
+
        if (connection_profile_get_name(profile, &profile_name) != CONNECTION_ERROR_NONE) {
                printf("Fail to get profile name\n");
                return -1;