Add test case for ethernet profile 67/40067/2
authorManeesh Jain <maneesh.jain@samsung.com>
Thu, 28 May 2015 11:53:36 +0000 (17:23 +0530)
committerManeesh Jain <maneesh.jain@samsung.com>
Thu, 28 May 2015 11:57:14 +0000 (17:27 +0530)
This patch adds the ethernet case in test_update_profile()
function.

Change-Id: I24f0937b13ba3cf2057155b45dfb83ddf3f89e1b
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
test/connection_test.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 76f5db9..09f01d0
@@ -1190,6 +1190,10 @@ int test_update_profile(void)
 
                break;
        case CONNECTION_PROFILE_TYPE_ETHERNET:
+               if (test_update_network_info(profile) == -1)
+                       return -1;
+
+               break;
        case CONNECTION_PROFILE_TYPE_BT:
                printf("Not supported!\n");
                /* fall through */