Merge "Add support for ipv6" into tizen submit/tizen/20150530.015007
authortaesub.kim <taesub.kim@samsung.com>
Fri, 29 May 2015 07:06:42 +0000 (00:06 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 29 May 2015 07:06:42 +0000 (00:06 -0700)
packaging/capi-network-connection.spec
test/CMakeLists.txt
test/connection_test.c [changed mode: 0644->0755]

index df54c2d..447bcaa 100644 (file)
@@ -53,6 +53,7 @@ cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/capi-network-connection
 %manifest %{name}.manifest
 %attr(644,-,-) %{_libdir}/libcapi-network-connection.so.*
 %{_datadir}/license/capi-network-connection
+%{_bindir}/connection_test
 
 %files devel
 %manifest %{name}.manifest
index 7f2f801..c44ab56 100644 (file)
@@ -17,3 +17,5 @@ FOREACH(src ${sources})
     ADD_EXECUTABLE(${src_name} ${src})
     TARGET_LINK_LIBRARIES(${src_name} ${fw_name} ${${fw_test}_LDFLAGS})
 ENDFOREACH()
+
+INSTALL(TARGETS connection_test RUNTIME DESTINATION bin/)
old mode 100644 (file)
new mode 100755 (executable)
index 3806e3e..ec16ae0
@@ -1228,6 +1228,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 */