diff --git a/communication_lite/lwip_hal/src/lwip_func_test.c b/communication_lite/lwip_hal/src/lwip_func_test.c index 7bed88b6f58dee74e5d627d8fcc623ecff0848c2..2fc4ea2f3b8e2dd82e36847aeb993e1e7f2de504 100755 --- a/communication_lite/lwip_hal/src/lwip_func_test.c +++ b/communication_lite/lwip_hal/src/lwip_func_test.c @@ -816,9 +816,8 @@ LITE_TEST_CASE(LwipFuncTestSuite, testInetPtonIpv4Abnormal, Function | MediumTes { int ret; struct in_addr rst; - char cpAddrs[10][16] = {"255", "256", "255.0", "255.0.0", "256.0.0.1", "a.a.a.a", "....", "#", - "127.0.0.f", "0:0:0:0:0:0:0:1"}; - for (int i = 0; i < 10; i++) { + char cpAddrs[6][16] = {"256.0.0.1", "a.a.a.a", "....", "#", "127.0.0.f", "0:0:0:0:0:0:0:1"}; + for (int i = 0; i < 6; i++) { ret = inet_pton(AF_INET, cpAddrs[i], &rst); TEST_ASSERT_EQUAL_INT(0, ret); printf("inet_pton error, cpAddr[%s]\n", cpAddrs[i]); diff --git a/communication_lite/lwip_posix/src/ActsLwipTest.cpp b/communication_lite/lwip_posix/src/ActsLwipTest.cpp index 635dab8fb255d5a9c7b0bfccb94546de77a62269..25c289504cdb915133dec7737eda49b268198edd 100755 --- a/communication_lite/lwip_posix/src/ActsLwipTest.cpp +++ b/communication_lite/lwip_posix/src/ActsLwipTest.cpp @@ -852,9 +852,8 @@ HWTEST_F(ActsLwipTest, testInetPtonIpv4Abnormal, Function | MediumTest | Level2) { int ret; struct in_addr rst = {0}; - char cpAddrs[10][16] = {"255", "256", "255.0", "255.0.0", "256.0.0.1", "a.a.a.a", "....", "#", - "127.0.0.f", "0:0:0:0:0:0:0:1"}; - for (int i = 0; i < 10; i++) { + char cpAddrs[6][16] = {"256.0.0.1", "a.a.a.a", "....", "#", "127.0.0.f", "0:0:0:0:0:0:0:1"}; + for (int i = 0; i < 6; i++) { ret = inet_pton(AF_INET, cpAddrs[i], &rst); EXPECT_EQ(0, ret) << "ErrInfo:inet_pton abnormal [" << cpAddrs[i] << "]"; } diff --git a/graphic_lite/graphic_utils/color_posix/Test.json b/graphic_lite/graphic_utils/color_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/graphic_utils/geometry2d_posix/Test.json b/graphic_lite/graphic_utils/geometry2d_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/graphic_utils/graphic_math_posix/Test.json b/graphic_lite/graphic_utils/graphic_math_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/graphic_utils/heap_base_posix/Test.json b/graphic_lite/graphic_utils/heap_base_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/graphic_utils/list_posix/Test.json b/graphic_lite/graphic_utils/list_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/graphic_utils/rect_posix/Test.json b/graphic_lite/graphic_utils/rect_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/graphic_utils/sys_info_posix/Test.json b/graphic_lite/graphic_utils/sys_info_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/graphic_utils/transform_posix/Test.json b/graphic_lite/graphic_utils/transform_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/surface/surface_posix/Test.json b/graphic_lite/surface/surface_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/animator_posix/Test.json b/graphic_lite/ui/animator_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/easing_equation_posix/Test.json b/graphic_lite/ui/easing_equation_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/events_posix/Test.json b/graphic_lite/ui/events_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/flexlayout_posix/Test.json b/graphic_lite/ui/flexlayout_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/gridlayout_posix/Test.json b/graphic_lite/ui/gridlayout_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/image_posix/Test.json b/graphic_lite/ui/image_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/interpolation_posix/Test.json b/graphic_lite/ui/interpolation_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/layout_posix/Test.json b/graphic_lite/ui/layout_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/listlayout_posix/Test.json b/graphic_lite/ui/listlayout_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/screen_posix/Test.json b/graphic_lite/ui/screen_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/style_posix/Test.json b/graphic_lite/ui/style_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/theme_posix/Test.json b/graphic_lite/ui/theme_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_abstract_progress_posix/Test.json b/graphic_lite/ui/ui_abstract_progress_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_analog_clock_posix/Test.json b/graphic_lite/ui/ui_analog_clock_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_arc_lable_posix/Test.json b/graphic_lite/ui/ui_arc_lable_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_axis_posix/Test.json b/graphic_lite/ui/ui_axis_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_box_porgress_posix/Test.json b/graphic_lite/ui/ui_box_porgress_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_button_posix/Test.json b/graphic_lite/ui/ui_button_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_canvas_posix/Test.json b/graphic_lite/ui/ui_canvas_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_chart_posix/Test.json b/graphic_lite/ui/ui_chart_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_checbox_posix/Test.json b/graphic_lite/ui/ui_checbox_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_circle_progress_posix/Test.json b/graphic_lite/ui/ui_circle_progress_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_digital_clock_posix/Test.json b/graphic_lite/ui/ui_digital_clock_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_image_animator_posix/Test.json b/graphic_lite/ui/ui_image_animator_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_image_posix/Test.json b/graphic_lite/ui/ui_image_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_label_button_posix/Test.json b/graphic_lite/ui/ui_label_button_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_label_posix/Test.json b/graphic_lite/ui/ui_label_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_list_posix/Test.json b/graphic_lite/ui/ui_list_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_picker_posix/Test.json b/graphic_lite/ui/ui_picker_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_radio_button_posix/Test.json b/graphic_lite/ui/ui_radio_button_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_repeat_button_posix/Test.json b/graphic_lite/ui/ui_repeat_button_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_screenshot_posix/Test.json b/graphic_lite/ui/ui_screenshot_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_scroll_view_posix/Test.json b/graphic_lite/ui/ui_scroll_view_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_slider_posix/Test.json b/graphic_lite/ui/ui_slider_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_surface_view_posix/Test.json b/graphic_lite/ui/ui_surface_view_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_swipe_view_posix/Test.json b/graphic_lite/ui/ui_swipe_view_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_text_posix/Test.json b/graphic_lite/ui/ui_text_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_texture_mapper_posix/Test.json b/graphic_lite/ui/ui_texture_mapper_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_time_picker_posix/Test.json b/graphic_lite/ui/ui_time_picker_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_toggle_button_posix/Test.json b/graphic_lite/ui/ui_toggle_button_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_view_group_posix/Test.json b/graphic_lite/ui/ui_view_group_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/ui_view_posix/Test.json b/graphic_lite/ui/ui_view_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/uianimator_posix/Test.json b/graphic_lite/ui/uianimator_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/uidfx_posix/Test.json b/graphic_lite/ui/uidfx_posix/Test.json old mode 100755 new mode 100644 diff --git a/graphic_lite/ui/uifont_posix/Test.json b/graphic_lite/ui/uifont_posix/Test.json old mode 100755 new mode 100644